diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-05 13:58:02 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-05 13:58:02 +0000 |
| commit | 7cff047312bf42b094dbebf775c4a93865c202d6 (patch) | |
| tree | 65575b9f1cc5d236884637712ebba55ea9611152 /ext/openssl/extconf.rb | |
| parent | 49fdc6d4694441c6e21929bc96faf3e8d86719b3 (diff) | |
| download | ruby-7cff047312bf42b094dbebf775c4a93865c202d6.tar.gz ruby-7cff047312bf42b094dbebf775c4a93865c202d6.tar.xz ruby-7cff047312bf42b094dbebf775c4a93865c202d6.zip | |
* lib/ext/openssl/extconf.rb: add check for some engine functions
unavailable in OpenSSL-0.9.6.
* lib/ext/openssl/ossl_engine.c: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/extconf.rb')
| -rw-r--r-- | ext/openssl/extconf.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 5ef85beae..a4239a122 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -85,7 +85,11 @@ if try_compile("#define FOO(a, ...) foo(a, ##__VA_ARGS__)\n int x(){FOO(1);FOO(1 $defs.push("-DHAVE_VA_ARGS_MACRO") end if have_header("openssl/engine.h") + have_func("ENGINE_load_builtin_engines") have_func("ENGINE_load_openbsd_dev_crypto") + have_func("ENGINE_get_digest") + have_func("ENGINE_get_cipher") + have_func("ENGINE_cleanup") end have_header("openssl/ocsp.h") have_struct_member("EVP_CIPHER_CTX", "flags", "openssl/evp.h") |
