summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index 700a2a40fb..2d2e845837 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -92,6 +92,11 @@ static NTSTATUS dcerpc_schannel_sign_packet(struct gensec_security *gensec_secur
return schannel_sign_packet(dce_schan_state->schannel_state, mem_ctx, data, length, sig);
}
+static size_t dcerpc_schannel_sig_size(struct gensec_security *gensec_security)
+{
+ return 32;
+}
+
static NTSTATUS dcerpc_schannel_session_key(struct gensec_security *gensec_security,
DATA_BLOB *session_key)
{
@@ -504,6 +509,7 @@ static const struct gensec_security_ops gensec_dcerpc_schannel_security_ops = {
.unseal_packet = dcerpc_schannel_unseal_packet,
.session_key = dcerpc_schannel_session_key,
.session_info = dcerpc_schannel_session_info,
+ .sig_size = dcerpc_schannel_sig_size,
.end = dcerpc_schannel_end
};