aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-23 15:16:02 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-23 15:16:02 +0000
commiteaaef6af4046fef08c3830e10c6f967d98db3b5f (patch)
tree03a46835ae7000d6ee4daad4aa88aec39c68aa97
parent5c67d206a7923e02f69aa7c4605bf1a76f6b21f8 (diff)
downloadruby-eaaef6af4046fef08c3830e10c6f967d98db3b5f.tar.gz
* ext/openssl/ossl_ssl_session.c (SSL_SESSION_cmp): remove static for
loopy version of openssl (0.9.8l?). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/openssl/ossl_ssl_session.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1562f0d48f..9f03a7f30c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)