summaryrefslogtreecommitdiff
path: root/libcli/auth/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-11-20 09:31:35 +0100
committerStefan Metzmacher <metze@samba.org>2016-04-12 19:25:23 +0200
commit4c4829634f76d7b67eec3b420f58419ff6ae5d02 (patch)
tree0ec39a9f7fed42b56a178183cd311683fb7880cb /libcli/auth/proto.h
parentbbaba64329f21bb89fd83f2fff8bdfe8f97b15eb (diff)
downloadsamba-4c4829634f76d7b67eec3b420f58419ff6ae5d02.tar.gz
CVE-2016-2110: libcli/auth: pass server_timestamp to SMBNTLMv2encrypt_hash()
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 'libcli/auth/proto.h')
-rw-r--r--libcli/auth/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h
index c58a23f4e0a..acf39e15287 100644
--- a/libcli/auth/proto.h
+++ b/libcli/auth/proto.h
@@ -144,6 +144,7 @@ DATA_BLOB NTLMv2_generate_names_blob(TALLOC_CTX *mem_ctx,
bool SMBNTLMv2encrypt_hash(TALLOC_CTX *mem_ctx,
const char *user, const char *domain, const uint8_t nt_hash[16],
const DATA_BLOB *server_chal,
+ const NTTIME *server_timestamp,
const DATA_BLOB *names_blob,
DATA_BLOB *lm_response, DATA_BLOB *nt_response,
DATA_BLOB *lm_session_key, DATA_BLOB *user_session_key) ;