diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-03 22:00:11 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-18 16:23:23 +0100 |
commit | f2efb0f6a3536d9aa84932f6997de39f0adf5b90 (patch) | |
tree | 3df73172983d26c52447ca8a3774f282cb48d358 /source3/librpc | |
parent | 1818612830576419889ff5702d5e85fa63ddb121 (diff) | |
download | samba-f2efb0f6a3536d9aa84932f6997de39f0adf5b90.tar.gz samba-f2efb0f6a3536d9aa84932f6997de39f0adf5b90.tar.bz2 samba-f2efb0f6a3536d9aa84932f6997de39f0adf5b90.zip |
s3-librpc Remove special case for spnego session key
SPNEGO is implemented only in terms of gensec mechanisms now.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/crypto/cli_spnego.c | 12 | ||||
-rw-r--r-- | source3/librpc/crypto/spnego.h | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/source3/librpc/crypto/cli_spnego.c b/source3/librpc/crypto/cli_spnego.c index d6956449e1..e676703c6b 100644 --- a/source3/librpc/crypto/cli_spnego.c +++ b/source3/librpc/crypto/cli_spnego.c @@ -283,18 +283,6 @@ NTSTATUS spnego_get_negotiated_mech(struct spnego_context *sp_ctx, return NT_STATUS_OK; } -DATA_BLOB spnego_get_session_key(TALLOC_CTX *mem_ctx, - struct spnego_context *sp_ctx) -{ - DATA_BLOB sk; - NTSTATUS status; - status = gensec_session_key(sp_ctx->gensec_security, mem_ctx, &sk); - if (!NT_STATUS_IS_OK(status)) { - return data_blob_null; - } - return sk; -} - NTSTATUS spnego_sign(TALLOC_CTX *mem_ctx, struct spnego_context *sp_ctx, DATA_BLOB *data, DATA_BLOB *full_data, diff --git a/source3/librpc/crypto/spnego.h b/source3/librpc/crypto/spnego.h index a054b593b2..b66ef4d152 100644 --- a/source3/librpc/crypto/spnego.h +++ b/source3/librpc/crypto/spnego.h @@ -72,9 +72,6 @@ bool spnego_require_more_processing(struct spnego_context *sp_ctx); NTSTATUS spnego_get_negotiated_mech(struct spnego_context *sp_ctx, struct gensec_security **auth_context); -DATA_BLOB spnego_get_session_key(TALLOC_CTX *mem_ctx, - struct spnego_context *sp_ctx); - NTSTATUS spnego_sign(TALLOC_CTX *mem_ctx, struct spnego_context *sp_ctx, DATA_BLOB *data, DATA_BLOB *full_data, |