2013-09-26 17:14:40 +02:00

15 lines
490 B
Plaintext

$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);