summaryrefslogtreecommitdiff
path: root/security/sslwrap/patches/patch-ac
blob: 512123ac673ef578cfe7a7557658432796947cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ac,v 1.1 2003/09/18 04:09:19 jmc Exp $

--- s_server.c.orig	2003-09-17 23:01:01.000000000 +0000
+++ s_server.c	2003-09-17 23:01:22.000000000 +0000
@@ -468,7 +468,9 @@
 
 	if (bugs) SSL_CTX_set_options(ctx,SSL_OP_ALL);
 	if (hack) SSL_CTX_set_options(ctx,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG);
+#if defined(SSL_OP_NON_EXPORT_FIRST)
 	if (hack) SSL_CTX_set_options(ctx,SSL_OP_NON_EXPORT_FIRST);
+#endif
 
 	if (state) SSL_CTX_set_info_callback(ctx,apps_ssl_info_callback);