[ruby-cvs:58603] tenderlove:r51455 (trunk): * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): convert

tenderlove at ruby-lang.org tenderlove at ruby-lang.org
Sat Aug 1 03:20:32 JST 2015


tenderlove	2015-08-01 03:20:31 +0900 (Sat, 01 Aug 2015)

  New Revision: 51455

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

  Log:
    * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): convert
      `tmp_dh_callback` to Ruby, and call it when setting up an SSL
      connection.  This allows us to move the "default" behavior to the
      reader method.
    
    * ext/openssl/ossl_ssl.c: call the tmp_dh_callback instead of
      accessing the SSLContext's internals.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/ssl.rb
    trunk/ext/openssl/ossl_ssl.c


More information about the ruby-cvs mailing list