diff options
author | Rob Stradling <rob@comodo.com> | 2013-09-10 10:05:17 +0100 |
---|---|---|
committer | Rob Stradling <rob@comodo.com> | 2013-09-10 10:05:17 +0100 |
commit | 9b2b6191333020c9d40ae0b489f911f6b2ed65a6 (patch) | |
tree | 03fc5c6d0af328b6f87e7c6c142e7b3d62654ac3 /ssl | |
parent | 48f91f6a8884c8bf17b2baba33d351882ce222f7 (diff) |
Use TLS version supplied by client when fingerprinting Safari.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 43ddc3d84c..16e7816951 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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); |