Project

General

Profile

Bug #9714 » fix_ruby_openssl_no_engine.1.9.x.diff

< 2.0.0 - steakknife (Barry Allard), 04/08/2014 05:12 AM

View differences:

ext/openssl/ossl.h 2014-04-07 22:05:38.000000000 -0700 → ext/openssl/ossl.h 2014-04-07 22:05:50.000000000 -0700
#include <openssl/conf_api.h>
#undef X509_NAME
#undef PKCS7_SIGNER_INFO
#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ST_ENGINE)
#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ST_ENGINE) && !defined(OPENSSL_NO_ENGINE)
# define OSSL_ENGINE_ENABLED
# include <openssl/engine.h>
#endif
(2-2/2)