Use TLS version supplied by client when fingerprinting Safari.

This commit is contained in:
Rob Stradling 2013-09-10 12:43:33 +01:00 committed by Ben Laurie
parent 020a4782bd
commit 43433b3852

View file

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