diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-05 14:40:58 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-05 18:43:53 +0900 |
commit | b89ad45c49c8393e0f3a552c3e18d8d41aa6cb2b (patch) | |
tree | adb61c91e13710d38443cce17644ece1f7e52a87 /test/openssl/test_ssl.rb | |
parent | 665e102691a655da45d70963761eb486f277c43a (diff) | |
download | ruby-b89ad45c49c8393e0f3a552c3e18d8d41aa6cb2b.tar.gz |
ext/openssl: add SSLContext#set_ecdh_curves
And deprecate #tmp_ecdh_callback.
Since SSL_CTX_set_tmp_ecdh_callback() was removed in OpenSSL 1.1.0, we
can't provide SSLContext#tmp_ecdh_callback anymore. Instead, we should
use SSL_CTX_set1_curves_list() to set the curves and
SSL_CTX_set_ecdh_auto() to make OpenSSL select automatically from the
list.
Diffstat (limited to 'test/openssl/test_ssl.rb')
0 files changed, 0 insertions, 0 deletions