diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-05 06:13:37 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-05 06:13:37 +0000 |
commit | 22405dad926f9c898e08a4c5bf44dad81f050e70 (patch) | |
tree | 2a522a690c0e9b69e073877800665ee8efe7e225 | |
parent | 953e8aca2be6a74a4829f8729cd4ba8e501207fe (diff) | |
download | ruby-22405dad926f9c898e08a4c5bf44dad81f050e70.tar.gz |
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should
return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/openssl/ossl_ssl_session.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Apr 5 15:13:34 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should + return value. + Thu Apr 5 14:58:49 2007 Technorama Ltd. <oss-ruby@technorama.net> * ext/openssl/ossl_pkcs5.c: New module. diff --git a/ext/openssl/ossl_ssl_session.c b/ext/openssl/ossl_ssl_session.c index efc49395a0..b21cd1535e 100644 --- a/ext/openssl/ossl_ssl_session.c +++ b/ext/openssl/ossl_ssl_session.c @@ -22,7 +22,7 @@ static VALUE eSSLSession; static VALUE ossl_ssl_session_alloc(VALUE klass) { - Data_Wrap_Struct(klass, 0, SSL_SESSION_free, NULL); + return Data_Wrap_Struct(klass, 0, SSL_SESSION_free, NULL); } /* |