Use TLS version supplied by client when fingerprinting Safari.
authorRob Stradling <rob@comodo.com>
Tue, 10 Sep 2013 09:05:17 +0000 (10:05 +0100)
committerRob Stradling <rob@comodo.com>
Tue, 10 Sep 2013 09:05:17 +0000 (10:05 +0100)
ssl/t1_lib.c

index 43ddc3d84ca546390f423ac2632aa3fdcafcb775..16e7816951ff5bb44dabc574559ecc6ce1783af9 100644 (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);