diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-09 10:46:46 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-09 10:46:46 +0000 |
commit | dd05607f9a76ebab24fe7cf720bda102a81e5b0d (patch) | |
tree | 13d1bea2d099ddb0f1308be7dd24653c6fcb8a78 /vm.c | |
parent | bbcc64c23629c478e1c8d19bc8e450b5bfaa4b6c (diff) | |
download | ruby-dd05607f9a76ebab24fe7cf720bda102a81e5b0d.tar.gz |
openssl: fix build with OPENSSL_NO_EC
* ext/openssl/ossl_ssl.c: Add define guards for OPENSSL_NO_EC.
SSL_CTX_set_ecdh_auto() is defined even when ECDH is disabled in
OpenSSL's configuration. This fixes r55214.
* test/openssl/test_pair.rb (test_ecdh_curves): Skip if the OpenSSL does
not support ECDH.
* test/openssl/utils.rb (start_server): Ignore error in
SSLContext#ecdh_curves=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions