summaryrefslogtreecommitdiff
path: root/ext
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 /ext
parent5c67d206a7923e02f69aa7c4605bf1a76f6b21f8 (diff)
* 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
Diffstat (limited to 'ext')
-rw-r--r--ext/openssl/ossl_ssl_session.c2
1 files changed, 1 insertions, 1 deletions
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)