diff options
Diffstat (limited to 'src/lib/libssl/s3_clnt.c')
| -rw-r--r-- | src/lib/libssl/s3_clnt.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index 9a5ef826f6..b739711732 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_clnt.c,v 1.120 2015/07/19 07:34:52 doug Exp $ */ | 1 | /* $OpenBSD: s3_clnt.c,v 1.121 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 | * |
| @@ -170,6 +170,12 @@ | |||
| 170 | 170 | ||
| 171 | #include "bytestring.h" | 171 | #include "bytestring.h" |
| 172 | 172 | ||
| 173 | #ifdef __OpenBSD__ | ||
| 174 | #include <sys/cdefs.h> | ||
| 175 | __warn_references(SSLv3_client_method, | ||
| 176 | "SSLv3_client_method() enables the use of insecure protocols"); | ||
| 177 | #endif | ||
| 178 | |||
| 173 | static const SSL_METHOD *ssl3_get_client_method(int ver); | 179 | static const SSL_METHOD *ssl3_get_client_method(int ver); |
| 174 | static int ca_dn_cmp(const X509_NAME * const *a, const X509_NAME * const *b); | 180 | static int ca_dn_cmp(const X509_NAME * const *a, const X509_NAME * const *b); |
| 175 | 181 | ||
