summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-23 15:20:26 +0100
committerAndreas Schneider <asn@samba.org>2012-07-17 10:58:39 +0200
commit780006db9de7a55030ba07fc5236c85bee7b4961 (patch)
tree2eb0d813d4bb95bf462169f668a253dec8336377 /librpc
parenta7208de06a6b47ef0b6947d50b46efc79d1198ce (diff)
downloadsamba-780006db9de7a55030ba07fc5236c85bee7b4961.tar.gz
samba-780006db9de7a55030ba07fc5236c85bee7b4961.tar.bz2
samba-780006db9de7a55030ba07fc5236c85bee7b4961.zip
s4:librpc/rpc: add DCERPC_SCHANNEL_AES support
metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/rpc_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/librpc/rpc/rpc_common.h b/librpc/rpc/rpc_common.h
index a28835fa63..e2b37550e1 100644
--- a/librpc/rpc/rpc_common.h
+++ b/librpc/rpc/rpc_common.h
@@ -110,6 +110,9 @@ struct dcerpc_binding {
/* handle upgrades or downgrades automatically */
#define DCERPC_SCHANNEL_AUTO (1<<23)
+/* use aes schannel with hmac-sh256 session key */
+#define DCERPC_SCHANNEL_AES (1<<24)
+
/* The following definitions come from ../librpc/rpc/dcerpc_error.c */
const char *dcerpc_errstr(TALLOC_CTX *mem_ctx, uint32_t fault_code);