summaryrefslogtreecommitdiff
path: root/auth/ntlmssp/ntlmssp_private.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-12-01 08:46:45 +0100
committerStefan Metzmacher <metze@samba.org>2016-04-12 19:25:22 +0200
commit61ec7f069d777e2688657b490c07ce7499bd7221 (patch)
tree8fd7bb9b358748d93fa9d7adf2bd4d19e4c1ace4 /auth/ntlmssp/ntlmssp_private.h
parente4bab3a8282d263eb2391bc7e8a6fd64ae068935 (diff)
downloadsamba-61ec7f069d777e2688657b490c07ce7499bd7221.tar.gz
CVE-2016-2110: auth/ntlmssp: let ntlmssp_handle_neg_flags() return NTSTATUS
In future we can do a more fine granted negotiation and assert specific security features. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11644 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'auth/ntlmssp/ntlmssp_private.h')
-rw-r--r--auth/ntlmssp/ntlmssp_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/ntlmssp/ntlmssp_private.h b/auth/ntlmssp/ntlmssp_private.h
index 29eca356660..e938e5cad8f 100644
--- a/auth/ntlmssp/ntlmssp_private.h
+++ b/auth/ntlmssp/ntlmssp_private.h
@@ -59,8 +59,8 @@ NTSTATUS gensec_ntlmssp_update(struct gensec_security *gensec_security,
/* The following definitions come from auth/ntlmssp_util.c */
void debug_ntlmssp_flags(uint32_t neg_flags);
-void ntlmssp_handle_neg_flags(struct ntlmssp_state *ntlmssp_state,
- uint32_t neg_flags, bool allow_lm);
+NTSTATUS ntlmssp_handle_neg_flags(struct ntlmssp_state *ntlmssp_state,
+ uint32_t neg_flags, const char *name);
const DATA_BLOB ntlmssp_version_blob(void);
/* The following definitions come from auth/ntlmssp_server.c */