diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-13 11:51:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-13 11:51:51 -0400 |
commit | 902517a7c03ec5a879190903f65fafc62c0b1613 (patch) | |
tree | d3195b526588906b579d0eea1873d3604b2067c8 /src/common/tortls.c | |
parent | 8b981725798880a8bc8b1bee638e4285ffb7fe5a (diff) | |
download | tor-902517a7c03ec5a879190903f65fafc62c0b1613.tar.gz tor-902517a7c03ec5a879190903f65fafc62c0b1613.zip |
Use SSL_get_client_ciphers() on openssl 1.1+, not SSL_get_ciphers...
(which isn't correct.)
Fixes bug 17047; bugfix on 0.2.7.2-alpha, introduced by the merge in
0030765e04d8dfe3dfaf8124b01a4d578b7d8ceb, apparently.
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 7447822d48..20c898456a 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -1563,7 +1563,7 @@ tor_tls_client_is_using_v2_ciphers(const SSL *ssl) { STACK_OF(SSL_CIPHER) *ciphers; #ifdef HAVE_SSL_GET_CLIENT_CIPHERS - ciphers = SSL_get_ciphers(ssl); + ciphers = SSL_get_client_ciphers(ssl); #else SSL_SESSION *session; if (!(session = SSL_get_session((SSL *)ssl))) { |