diff options
author | Xin LI <delphij@FreeBSD.org> | 2014-01-07 19:02:08 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2014-01-07 19:02:08 +0000 |
commit | cbbee3a581d0bbf1b738c0805da55a438c265a20 (patch) | |
tree | 2e2eb91a8a37902a3e02fcc8726521f89373fdd8 /ssl/s3_lib.c | |
parent | ed4c5254dd244e65403ee0ca57f1a5727ff1761d (diff) | |
download | src-test2-cbbee3a581d0bbf1b738c0805da55a438c265a20.tar.gz src-test2-cbbee3a581d0bbf1b738c0805da55a438c265a20.zip |
Notes
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r-- | ssl/s3_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index e7c5dcb809f9..3291e3d8e297 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -4274,7 +4274,7 @@ need to go to SSL_ST_ACCEPT. long ssl_get_algorithm2(SSL *s) { long alg2 = s->s3->tmp.new_cipher->algorithm2; - if (TLS1_get_version(s) >= TLS1_2_VERSION && + if (s->method->version == TLS1_2_VERSION && alg2 == (SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF)) return SSL_HANDSHAKE_MAC_SHA256 | TLS1_PRF_SHA256; return alg2; |