diff options
-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 @@ +Sat Apr 24 00:14:41 2010 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/openssl/ossl_ssl_session.c (SSL_SESSION_cmp): remove static for + loopy version of openssl (0.9.8l?). + Fri Apr 23 23:27:17 2010 Tanaka Akira <akr@fsij.org> * ext/openssl/ossl_config.c: fix compilation failure with diff --git a/ext/openssl/ossl_ssl_session.c b/ext/openssl/ossl_ssl_session.c index 26a1f67f55..8bc250282a 100644 --- a/ext/openssl/ossl_ssl_session.c +++ b/ext/openssl/ossl_ssl_session.c @@ -73,7 +73,7 @@ static VALUE ossl_ssl_session_initialize(VALUE self, VALUE arg1) } #if HAVE_SSL_SESSION_CMP == 0 -static int SSL_SESSION_cmp(const SSL_SESSION *a,const SSL_SESSION *b) +int SSL_SESSION_cmp(const SSL_SESSION *a,const SSL_SESSION *b) { if (a->ssl_version != b->ssl_version || a->session_id_length != b->session_id_length) |