summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl.c
diff options
authorKazuki Yamaguchi <[email protected]>2020-08-06 15:35:30 +0900
committerKazuki Yamaguchi <[email protected]>2021-07-18 17:44:43 +0900
commit88d64418ddb77118b17c20a1455aa0c6341e077a (patch)
treea8f49a26a777f987730ee11c1a0218c1e8ac4734 /ext/openssl/ossl.c
parent50332c40710ab421318c97be0c6ca94b71d4fe58 (diff)
[ruby/openssl] ssl: use TLS_method() instead of SSLv23_method() for LibreSSL
LibreSSL 2.2.2 introduced TLS_method(), but with different semantics from OpenSSL: TLS_method() enabled TLS >= 1.0 while SSLv23_method() enabled all available versions, which included SSL 3.0 in addition. However, LibreSSL 2.3.0 removed SSL 3.0 support completely and now TLS_method() and SSLv23_method() are equivalent. https://github.com/ruby/openssl/commit/3b7d7045b8
Diffstat (limited to 'ext/openssl/ossl.c')
0 files changed, 0 insertions, 0 deletions