530a5cb5d0
Add two new configurable options to disable libwrap support (almost as in the PR, but not quite) and enable Diffie-Hellman key exchange. PR: 139147 (only the libwrap support, but missing -lwrap) Submitted by: Jim Riggs <ports@christianserving.org>
16 lines
605 B
Diff
16 lines
605 B
Diff
Description: Disable the OpenSSL engine support for the FreeBSD port.
|
|
Forwaded: not-needed
|
|
Author: Peter Pentchev <roam@FreeBSD.org>
|
|
Last-Update: 2009-11-13
|
|
|
|
--- src/ssl.c.orig
|
|
+++ src/ssl.c
|
|
@@ -276,6 +276,8 @@
|
|
}
|
|
|
|
static void init_engine() {
|
|
+ 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);
|
|
if(engine_initialized)
|
|
return;
|
|
engine_initialized=1;
|