Hello requests are no longer included in the handshake hashing (as per RFC)

This commit is contained in:
Simon Rozman 2016-08-17 09:29:55 +02:00
parent c69316071f
commit 69e6b775f8

View File

@ -1087,10 +1087,13 @@ void eap::method_tls::process_handshake(_In_bytecount_(msg_size) const void *_ms
m_handshake[type] = true; m_handshake[type] = true;
} }
if (type != tls_handshake_type_hello_request) {
// Hash all but hello requests (https://tools.ietf.org/html/rfc5246#section-7.4.1.1).
hash_handshake(msg, rec_end - msg);
}
msg = rec_end; msg = rec_end;
} }
hash_handshake(_msg, msg_size);
} }