diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 04:38:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 04:38:13 +0000 |
commit | b20b9e0afed97d04cbdb7e361b2214a88ca4cf89 (patch) | |
tree | 109467e66abb65c6189dfea318c66c4d8c180e27 /dmyext.c | |
parent | 1ac12c4056b9c24c5e5b0aacefa5dc75acf5e720 (diff) | |
download | ruby-b20b9e0afed97d04cbdb7e361b2214a88ca4cf89.tar.gz |
openssl: fix build when NPN is disabled by OpenSSL
* ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb
function rather than OPENSSL_NPN_NEGOTIATED macro. it exists
even if it is disabled by OpenSSL configuration.
[ruby-core:74384] [Bug #12182]
* ext/openssl/ossl_ssl.c: update #ifdef(s) as above.
* test/openssl/test_ssl.rb: skip NPN tests if NPN is disabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dmyext.c')
0 files changed, 0 insertions, 0 deletions