summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-03 11:27:55 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-10 09:19:01 +0200
commit9b9ab1ae6963b3819dc2b095cbe9e1432f3459b7 (patch)
tree9a6b7fe2eacac4e9bd5ff08f935b8a2129bf0c35
parenta07049a839729e29ca888bae353cd37fd6238486 (diff)
downloadsamba-9b9ab1ae6963b3819dc2b095cbe9e1432f3459b7.tar.gz
samba-9b9ab1ae6963b3819dc2b095cbe9e1432f3459b7.tar.bz2
samba-9b9ab1ae6963b3819dc2b095cbe9e1432f3459b7.zip
s4:gensec/schannel: there's no point in having schannel_session_key()
gensec_session_key() will return NT_STATUS_NO_USER_SESSION_KEY before calling schannel_session_key(), as we don't provide GENSEC_FEATURE_SESSION_KEY. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/auth/gensec/schannel.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 7fc0c7c108..ebf64697e2 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -42,13 +42,6 @@ static size_t schannel_sig_size(struct gensec_security *gensec_security, size_t
return netsec_outgoing_sig_size(state);
}
-static NTSTATUS schannel_session_key(struct gensec_security *gensec_security,
- TALLOC_CTX *mem_ctx,
- DATA_BLOB *session_key)
-{
- return NT_STATUS_NOT_IMPLEMENTED;
-}
-
static NTSTATUS schannel_update(struct gensec_security *gensec_security, TALLOC_CTX *out_mem_ctx,
struct tevent_context *ev,
const DATA_BLOB in, DATA_BLOB *out)
@@ -315,7 +308,6 @@ static const struct gensec_security_ops gensec_schannel_security_ops = {
.sign_packet = schannel_sign_packet,
.check_packet = schannel_check_packet,
.unseal_packet = schannel_unseal_packet,
- .session_key = schannel_session_key,
.session_info = schannel_session_info,
.sig_size = schannel_sig_size,
.have_feature = schannel_have_feature,