Use TLS version supplied by client when fingerprinting Safari.

This commit is contained in:
Rob Stradling 2013-09-10 10:05:17 +01:00
parent 48f91f6a88
commit 9b2b619133

View File

@ -682,7 +682,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);