summaryrefslogtreecommitdiff
path: root/security/stunnel/files/ssl-noengine.patch
blob: 13fda4281e24b9d829d4863c09604574a038742e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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;
 
+    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();
     if(!strcasecmp(options.engine, "auto")) {
         s_log(LOG_DEBUG, "Enabling auto engine support");