Project

General

Profile

« Previous | Next » 

Revision 1cb9949f

Added by tenderlovemaking (Aaron Patterson) almost 10 years ago

  • 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e