diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-02 13:56:05 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-02 13:56:05 +0000 |
commit | 224b8f18b29d74034fe6e3f1649871e3c52d22fd (patch) | |
tree | 0b5cdfb5b236911e79bcdbf0a7e3fc3e031316f7 /ext/openssl | |
parent | e2570cfc0466be7b1c6e18ffc99f56989004bc53 (diff) | |
download | ruby-224b8f18b29d74034fe6e3f1649871e3c52d22fd.tar.gz ruby-224b8f18b29d74034fe6e3f1649871e3c52d22fd.tar.xz ruby-224b8f18b29d74034fe6e3f1649871e3c52d22fd.zip |
ENGINE_load_private_key takes four arguments since OpenSSL-0.9.7
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/ossl_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c index 9e637aac0..d1143b85a 100644 --- a/ext/openssl/ossl_engine.c +++ b/ext/openssl/ossl_engine.c @@ -203,7 +203,7 @@ ossl_engine_load_privkey(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_private_key(e, sid, sdata); #else pkey = ENGINE_load_private_key(e, sid, NULL, sdata); |