summaryrefslogtreecommitdiff
path: root/auth/gensec/spnego.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-06-30 11:00:12 +0200
committerStefan Metzmacher <metze@samba.org>2017-07-05 02:17:12 +0200
commita15953ae5f9a09d51e1ba49cd8d1b543f04a2a78 (patch)
tree6b1872e5cc21f4458a348e85be9e8c01992dfed4 /auth/gensec/spnego.c
parent31019d338d2d4b3c17b7f25d863e6d85f29c3cec (diff)
downloadsamba-a15953ae5f9a09d51e1ba49cd8d1b543f04a2a78.tar.gz
auth/spnego: rename gensec_spnego_server_negTokenTarg() into gensec_spnego_server_response()
gensec_spnego_server_negTokenTarg() will reappear as function that handles the whole negTokenTarg processing. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth/gensec/spnego.c')
-rw-r--r--auth/gensec/spnego.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c
index 964f44f1662..3256f7645fe 100644
--- a/auth/gensec/spnego.c
+++ b/auth/gensec/spnego.c
@@ -569,12 +569,12 @@ static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec
* This is the case, where the client is the first one who sends data
*/
-static NTSTATUS gensec_spnego_server_negTokenTarg(struct spnego_state *spnego_state,
- TALLOC_CTX *out_mem_ctx,
- NTSTATUS nt_status,
- const DATA_BLOB unwrapped_out,
- DATA_BLOB mech_list_mic,
- DATA_BLOB *out)
+static NTSTATUS gensec_spnego_server_response(struct spnego_state *spnego_state,
+ TALLOC_CTX *out_mem_ctx,
+ NTSTATUS nt_status,
+ const DATA_BLOB unwrapped_out,
+ DATA_BLOB mech_list_mic,
+ DATA_BLOB *out)
{
struct spnego_data spnego_out;
@@ -1106,12 +1106,12 @@ static NTSTATUS gensec_spnego_update_server(struct gensec_security *gensec_secur
mech_list_mic = unwrapped_out;
}
- nt_status = gensec_spnego_server_negTokenTarg(spnego_state,
- out_mem_ctx,
- nt_status,
- unwrapped_out,
- mech_list_mic,
- out);
+ nt_status = gensec_spnego_server_response(spnego_state,
+ out_mem_ctx,
+ nt_status,
+ unwrapped_out,
+ mech_list_mic,
+ out);
spnego_free_data(&spnego);
@@ -1248,12 +1248,12 @@ static NTSTATUS gensec_spnego_update_server(struct gensec_security *gensec_secur
}
server_response:
- nt_status = gensec_spnego_server_negTokenTarg(spnego_state,
- out_mem_ctx,
- nt_status,
- unwrapped_out,
- mech_list_mic,
- out);
+ nt_status = gensec_spnego_server_response(spnego_state,
+ out_mem_ctx,
+ nt_status,
+ unwrapped_out,
+ mech_list_mic,
+ out);
spnego_free_data(&spnego);