diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/openssl/ossl_ssl.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Nov 26 10:22:28 2011 Martin Bosslet <Martin.Bosslet@googlemail.com> + + * ext/openssl/ossl_ssl.c: add comment on where to find implementation + of OpenSSL::SSL::SSLSocket#session. + Sat Nov 26 05:00:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (--no-undefined): RUBY_TRY_CFLAGS does nothing for diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index e80bf4d401..8ea0eee548 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -1956,6 +1956,7 @@ Init_ossl_ssl() rb_define_method(cSSLSocket, "state", ossl_ssl_get_state, 0); rb_define_method(cSSLSocket, "pending", ossl_ssl_pending, 0); rb_define_method(cSSLSocket, "session_reused?", ossl_ssl_session_reused, 0); + /* implementation of OpenSSL::SSL::SSLSocket#session is in lib/openssl/ssl.rb */ rb_define_method(cSSLSocket, "session=", ossl_ssl_set_session, 1); rb_define_method(cSSLSocket, "verify_result", ossl_ssl_get_verify_result, 0); rb_define_method(cSSLSocket, "client_ca", ossl_ssl_get_client_ca_list, 0); |