summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRob Stradling <rob@comodo.com>2013-09-10 11:03:29 +0100
committerBen Laurie <ben@links.org>2013-09-16 15:07:52 +0100
commitf4a51970d245a61e991a0c2e196853e81a1a6c53 (patch)
treec23386ed4270a43de9bec2e02a1ee36ea3888f97 /ssl
parent937f125efc80d7a4e80a5a02ec0eae02ea0b55ac (diff)
Use TLS version supplied by client when fingerprinting Safari.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 4afc3a258b..f671d1d9c3 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -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);