diff options
author | 2014-07-10 22:45:56 +0000 | |
---|---|---|
committer | 2014-07-10 22:45:56 +0000 | |
commit | 8cf4d6a6f06280da23bb640b5f3f1330158a5205 (patch) | |
tree | 52a199a950283c93e9a3854f5f0db0a89b19e9c7 /lib/libcrypto/x509v3/ext_dat.h | |
parent | Test relayd error message for a broken config file. (diff) | |
download | wireguard-openbsd-8cf4d6a6f06280da23bb640b5f3f1330158a5205.tar.xz wireguard-openbsd-8cf4d6a6f06280da23bb640b5f3f1330158a5205.zip |
Explicitly include <openssl/opensslconf.h> in every file that references
an OPENSSL_NO_* define. This avoids relying on something else pulling it
in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is
never going to do anything, since OPENSSL_NO_XYZ will never defined, due
to the fact that opensslconf.h has not been included.
This also includes some miscellaneous sorting/tidying of headers.
Diffstat (limited to 'lib/libcrypto/x509v3/ext_dat.h')
-rw-r--r-- | lib/libcrypto/x509v3/ext_dat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/x509v3/ext_dat.h b/lib/libcrypto/x509v3/ext_dat.h index 36d535d42d4..1111af21081 100644 --- a/lib/libcrypto/x509v3/ext_dat.h +++ b/lib/libcrypto/x509v3/ext_dat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ext_dat.h,v 1.10 2014/06/12 15:49:31 deraadt Exp $ */ +/* $OpenBSD: ext_dat.h,v 1.11 2014/07/10 22:45:58 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -55,6 +55,9 @@ * Hudson (tjh@cryptsoft.com). * */ + +#include <openssl/opensslconf.h> + /* This file contains a table of "standard" extensions */ extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku; |