[ruby-cvs:58634] tenderlove:r51486 (trunk): * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): extract callback

tenderlove at ruby-lang.org tenderlove at ruby-lang.org
Wed Aug 5 08:56:45 JST 2015


tenderlove	2015-08-05 08:56:44 +0900 (Wed, 05 Aug 2015)

  New Revision: 51486

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

  Log:
    * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): extract callback
      lookup to private Ruby methods. This means we can keep the default
      DH callback logic hidden from consumers.  Also, since the SSLSocket
      always has a context, we can remove conditionals about that
      instance.
    
    * ext/openssl/ossl_ssl.c: move callback lookup methods to private Ruby
      methods.

  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