summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
-rw-r--r--src/lib/libssl/s3_srvr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c
index cd5bc2a6cb..7d2ec4d132 100644
--- a/src/lib/libssl/s3_srvr.c
+++ b/src/lib/libssl/s3_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_srvr.c,v 1.111 2015/07/18 01:42:26 doug Exp $ */ 1/* $OpenBSD: s3_srvr.c,v 1.112 2015/07/29 19:16:09 miod Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -166,6 +166,12 @@
166 166
167#include "bytestring.h" 167#include "bytestring.h"
168 168
169#ifdef __OpenBSD__
170#include <sys/cdefs.h>
171__warn_references(SSLv3_server_method,
172 "SSLv3_server_method() enables the use of insecure protocols");
173#endif
174
169static const SSL_METHOD *ssl3_get_server_method(int ver); 175static const SSL_METHOD *ssl3_get_server_method(int ver);
170 176
171const SSL_METHOD SSLv3_server_method_data = { 177const SSL_METHOD SSLv3_server_method_data = {