From f9c5f608d078547dacb90553334036a48823b6ca Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Sun, 14 Aug 2016 14:03:12 +0200 Subject: [PATCH] Fixed missing server handshake message hashing --- lib/TLS/src/Method.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/TLS/src/Method.cpp b/lib/TLS/src/Method.cpp index 4b6066b..46f41bf 100644 --- a/lib/TLS/src/Method.cpp +++ b/lib/TLS/src/Method.cpp @@ -1105,6 +1105,9 @@ void eap::method_tls::process_handshake(_In_bytecount_(msg_size) const void *_ms msg = rec_end; } + + CryptHashData(m_hash_handshake_msgs_md5 , (const BYTE*)_msg, (DWORD)msg_size, 0); + CryptHashData(m_hash_handshake_msgs_sha1, (const BYTE*)_msg, (DWORD)msg_size, 0); }