[ruby-cvs:61420] nobu:r54258 (trunk): openssl: fix build when NPN is disabled by OpenSSL

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Mar 25 13:38:13 JST 2016


nobu	2016-03-25 13:38:13 +0900 (Fri, 25 Mar 2016)

  New Revision: 54258

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54258

  Log:
    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.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/extconf.rb
    trunk/ext/openssl/ossl_ssl.c
    trunk/test/openssl/test_ssl.rb


More information about the ruby-cvs mailing list