diff options
Diffstat (limited to 'security/stunnel/files/ssl-noengine.patch')
| -rw-r--r-- | security/stunnel/files/ssl-noengine.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/security/stunnel/files/ssl-noengine.patch b/security/stunnel/files/ssl-noengine.patch index e2a444b12ef0..13fda4281e24 100644 --- a/security/stunnel/files/ssl-noengine.patch +++ b/security/stunnel/files/ssl-noengine.patch @@ -1,11 +1,11 @@ ---- src/ssl.c.orig Thu Sep 2 18:02:59 2004 -+++ src/ssl.c Thu Sep 2 18:03:26 2004 -@@ -70,7 +70,7 @@ - void context_init(void) { /* init SSL */ - int i; +--- src/ssl.c.orig Mon Dec 27 13:47:16 2004 ++++ src/ssl.c Mon Dec 27 13:50:36 2004 +@@ -116,6 +116,8 @@ + static void init_engine(void) { + ENGINE *e; --#if SSLEAY_VERSION_NUMBER >= 0x00907000L -+#if 0 - /* Load all bundled ENGINEs into memory and make them visible */ ++ s_log(LOG_ERR, "This version of stunnel was compiled WITHOUT support for OpenSSL hardware engines! If you need this functionality, rebuild the FreeBSD port with the WITH_STUNNEL_SSL_ENGINE option set to 'yes'; contact Peter Pentchev <roam@FreeBSD.org> for details."); ++ exit(1); ENGINE_load_builtin_engines(); - /* Register all of them for every algorithm they collectively implement */ + if(!strcasecmp(options.engine, "auto")) { + s_log(LOG_DEBUG, "Enabling auto engine support"); |
