From 01853231895005d55c05d78bb0efdc7f212d23dc Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Thu, 2 Oct 2003 14:26:43 +0000 Subject: ENGINE_load_public_key takes four arguments since OpenSSL-0.9.7 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c index d1143b85a..7c52b4b39 100644 --- a/ext/openssl/ossl_engine.c +++ b/ext/openssl/ossl_engine.c @@ -225,7 +225,7 @@ ossl_engine_load_pubkey(int argc, VALUE *argv, VALUE self) sid = StringValuePtr(id); sdata = NIL_P(data) ? NULL : StringValuePtr(data); GetEngine(self, e); -#if OPENSSL_VERSION_NUMBER < 0x0090702fL +#if OPENSSL_VERSION_NUMBER < 0x00907000L pkey = ENGINE_load_public_key(e, sid, sdata); #else pkey = ENGINE_load_public_key(e, sid, NULL, sdata); -- cgit