Use TLS version supplied by client when fingerprinting Safari.
authorRob Stradling <rob@comodo.com>
Tue, 10 Sep 2013 11:21:27 +0000 (12:21 +0100)
committerBen Laurie <ben@links.org>
Fri, 13 Sep 2013 15:24:22 +0000 (16:24 +0100)
ssl/t1_lib.c

index a471995..c46e711 100644 (file)
@@ -1869,7 +1869,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);