Use TLS version supplied by client when fingerprinting Safari.

This commit is contained in:
Rob Stradling 2013-09-10 11:03:29 +01:00 committed by Ben Laurie
parent 937f125efc
commit f4a51970d2

View File

@ -923,7 +923,7 @@ static void ssl_check_for_safari(SSL *s, const unsigned char *data, const unsign
return;
data += size;
if (TLS1_get_version(s) >= TLS1_2_VERSION)
if (TLS1_get_client_version(s) >= TLS1_2_VERSION)
{
const size_t len1 = sizeof(kSafariExtensionsBlock);
const size_t len2 = sizeof(kSafariTLS12ExtensionsBlock);