diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 09:33:29 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 12:45:04 +0200 |
commit | fec25c3a627bfbb14cf0aaf8773f54e0e5017517 (patch) | |
tree | c49e380c6ecfb3410133119e60c3ba702fbb2286 /libcli/auth/ntlmssp.h | |
parent | d811862b453cc616650cdc10f4d69b239d66943a (diff) | |
download | samba-fec25c3a627bfbb14cf0aaf8773f54e0e5017517.tar.gz samba-fec25c3a627bfbb14cf0aaf8773f54e0e5017517.tar.bz2 samba-fec25c3a627bfbb14cf0aaf8773f54e0e5017517.zip |
ntlmssp: Add ntlmssp_blob_matches_magic()
This avoids having the same check in 3 different parts of the code
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Aug 3 12:45:04 CEST 2011 on sn-devel-104
Diffstat (limited to 'libcli/auth/ntlmssp.h')
-rw-r--r-- | libcli/auth/ntlmssp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcli/auth/ntlmssp.h b/libcli/auth/ntlmssp.h index 495d94f6a0..cf8bb8dd30 100644 --- a/libcli/auth/ntlmssp.h +++ b/libcli/auth/ntlmssp.h @@ -169,3 +169,5 @@ NTSTATUS ntlmssp_unwrap(struct ntlmssp_state *ntlmssp_stae, const DATA_BLOB *in, DATA_BLOB *out); NTSTATUS ntlmssp_sign_init(struct ntlmssp_state *ntlmssp_state); + +bool ntlmssp_blob_matches_magic(const DATA_BLOB *blob); |