diff options
author | akr <akr@ruby-lang.org> | 2013-05-09 12:12:17 +0000 |
---|---|---|
committer | akr <akr@ruby-lang.org> | 2013-05-09 12:12:17 +0000 |
commit | 692a470a0581a807a0681265f2b1525045eeb9f7 (patch) | |
tree | d9052cbfabb78dab45a8271d466ebec6e761380b /ext/openssl/openssl_missing.c | |
parent | 246f8e21605ce1c24a1424b83ba192c3354ea004 (diff) | |
download | ruby-openssl-history-692a470a0581a807a0681265f2b1525045eeb9f7.tar.gz |
* file.c, ext/etc/etc.c, ext/socket/unixsocket.c,
ext/openssl/ossl.h, ext/openssl/openssl_missing.c: Use
HAVE_AGGREGATE_MEMBER instead of HAVE_ST_MEMBER.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/openssl_missing.c')
-rw-r--r-- | ext/openssl/openssl_missing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/openssl_missing.c b/ext/openssl/openssl_missing.c index f88dd40..b5efaaf 100644 --- a/ext/openssl/openssl_missing.c +++ b/ext/openssl/openssl_missing.c @@ -10,7 +10,7 @@ */ #include RUBY_EXTCONF_H -#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ST_ENGINE) +#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_EVP_CIPHER_CTX_ENGINE) # include <openssl/engine.h> #endif #include <openssl/x509_vfy.h> @@ -122,7 +122,7 @@ EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, EVP_CIPHER_CTX *in) { memcpy(out, in, sizeof(EVP_CIPHER_CTX)); -#if defined(HAVE_ENGINE_ADD) && defined(HAVE_ST_ENGINE) +#if defined(HAVE_ENGINE_ADD) && defined(HAVE_EVP_CIPHER_CTX_ENGINE) if (in->engine) ENGINE_add(out->engine); if (in->cipher_data) { out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); |