Project

General

Profile

Bug #9714 » fix_ruby_openssl_no_engine.2.x.diff

2.0.0 + - steakknife (Barry Allard), 04/08/2014 05:11 AM

View differences:

ext/openssl/ossl.h 2014-04-07 22:06:59.000000000 -0700 → ext/openssl/ossl.h 2014-04-07 22:07:13.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
(1-1/2)