diff options
author | 2014-07-10 22:45:56 +0000 | |
---|---|---|
committer | 2014-07-10 22:45:56 +0000 | |
commit | 8cf4d6a6f06280da23bb640b5f3f1330158a5205 (patch) | |
tree | 52a199a950283c93e9a3854f5f0db0a89b19e9c7 /lib/libssl/src/crypto/dsa/dsa_lib.c | |
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/libssl/src/crypto/dsa/dsa_lib.c')
-rw-r--r-- | lib/libssl/src/crypto/dsa/dsa_lib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/dsa/dsa_lib.c b/lib/libssl/src/crypto/dsa/dsa_lib.c index 19f80687f87..3bf8427d4ca 100644 --- a/lib/libssl/src/crypto/dsa/dsa_lib.c +++ b/lib/libssl/src/crypto/dsa/dsa_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa_lib.c,v 1.18 2014/07/09 11:10:50 bcook Exp $ */ +/* $OpenBSD: dsa_lib.c,v 1.19 2014/07/10 22:45:56 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -59,6 +59,9 @@ /* Original version from Steven Schoch <schoch@sheba.arc.nasa.gov> */ #include <stdio.h> + +#include <openssl/opensslconf.h> + #include "cryptlib.h" #include <openssl/bn.h> #include <openssl/dsa.h> |