diff options
author | jsing <> | 2021-05-16 08:24:21 +0000 |
---|---|---|
committer | jsing <> | 2021-05-16 08:24:21 +0000 |
commit | b38eb13d0250b437c5743cee5f970c84ec31d898 (patch) | |
tree | c555c29a1b17b1ecaa4ed197e78441f09086f14b /src/lib/libssl/ssl_lib.c | |
parent | ef9d8bd13ca04028d27714bedb7b235bc28a7725 (diff) | |
download | openbsd-b38eb13d0250b437c5743cee5f970c84ec31d898.tar.gz openbsd-b38eb13d0250b437c5743cee5f970c84ec31d898.tar.bz2 openbsd-b38eb13d0250b437c5743cee5f970c84ec31d898.zip |
Explicitly include <openssl/opensslconf.h> in files using OPENSSL_NO_*
Where a file references to OPENSSL_NO_* conditions, ensure that we
explicitly include <openssl/opensslconf.h> before any references, rather
than relying on another header to pull this in.
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 2e3be8b13f..3cb64cfb16 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_lib.c,v 1.256 2021/05/10 17:05:26 tb Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.257 2021/05/16 08:24:21 jsing 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 | * |
@@ -153,6 +153,7 @@ | |||
153 | #include <openssl/lhash.h> | 153 | #include <openssl/lhash.h> |
154 | #include <openssl/objects.h> | 154 | #include <openssl/objects.h> |
155 | #include <openssl/ocsp.h> | 155 | #include <openssl/ocsp.h> |
156 | #include <openssl/opensslconf.h> | ||
156 | #include <openssl/x509v3.h> | 157 | #include <openssl/x509v3.h> |
157 | 158 | ||
158 | #ifndef OPENSSL_NO_ENGINE | 159 | #ifndef OPENSSL_NO_ENGINE |