[ruby-cvs:58607] tenderlove:r51459 (trunk): * ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback): Similarly to the

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


tenderlove	2015-08-01 03:51:30 +0900 (Sat, 01 Aug 2015)

  New Revision: 51459

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

  Log:
    * ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback): Similarly to the
      tmp_ecdh_callback, the SSLSocket instance always holds a reference
      to the SSLContext object (it's always set in `initialize`).  The
      SSLContext holds a reference to the tmp_dh_callback.  Ask the
      context for the callback instead of storing the callback in two
      places.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_ssl.c


More information about the ruby-cvs mailing list