diff options
author | 2016-12-30 15:10:57 +0000 | |
---|---|---|
committer | 2016-12-30 15:10:57 +0000 | |
commit | a401edeeeae7767fc687e0002c90352d9ef9e8db (patch) | |
tree | 0d6f203dda615834a341036a79eda98d44c737fc /lib | |
parent | Place M_PKCS12_* compatibility macros under #ifndef LIBRESSL_INTERNAL. (diff) | |
download | wireguard-openbsd-a401edeeeae7767fc687e0002c90352d9ef9e8db.tar.xz wireguard-openbsd-a401edeeeae7767fc687e0002c90352d9ef9e8db.zip |
Explicitly include openssl/opensslconf.h in headers that use OPENSSL_NO_*
defines - do not rely on another heading making those available for us.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/dtls1.h | 3 | ||||
-rw-r--r-- | lib/libssl/ssl3.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libssl/dtls1.h b/lib/libssl/dtls1.h index 5aed28e99af..8ec0bb84212 100644 --- a/lib/libssl/dtls1.h +++ b/lib/libssl/dtls1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dtls1.h,v 1.18 2015/09/10 17:57:50 jsing Exp $ */ +/* $OpenBSD: dtls1.h,v 1.19 2016/12/30 15:10:57 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -66,6 +66,7 @@ #include <stdlib.h> #include <string.h> +#include <openssl/opensslconf.h> #include <openssl/buffer.h> #ifdef __cplusplus diff --git a/lib/libssl/ssl3.h b/lib/libssl/ssl3.h index 90fcae7914e..c52c0a780eb 100644 --- a/lib/libssl/ssl3.h +++ b/lib/libssl/ssl3.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl3.h,v 1.42 2016/12/21 16:44:31 jsing Exp $ */ +/* $OpenBSD: ssl3.h,v 1.43 2016/12/30 15:10:57 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -117,6 +117,7 @@ #ifndef HEADER_SSL3_H #define HEADER_SSL3_H +#include <openssl/opensslconf.h> #include <openssl/buffer.h> #include <openssl/evp.h> #include <openssl/ssl.h> |