summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_err.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-05-16 08:24:22 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-05-16 08:24:22 +0000
commit2cd35a15b80852941afaba30292f04e2b501e5a0 (patch)
tree8317b01ceaa075093961019d7e5e771774d68e3f /lib/libssl/ssl_err.c
parent976cd6d28c830d626179f88297a0ef60fcf28cc5 (diff)
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 'lib/libssl/ssl_err.c')
-rw-r--r--lib/libssl/ssl_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/ssl_err.c b/lib/libssl/ssl_err.c
index cbc28982348..8507690f79f 100644
--- a/lib/libssl/ssl_err.c
+++ b/lib/libssl/ssl_err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_err.c,v 1.37 2020/01/21 05:19:02 jsing Exp $ */
+/* $OpenBSD: ssl_err.c,v 1.38 2021/05/16 08:24:21 jsing Exp $ */
/* ====================================================================
* Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
*
@@ -61,6 +61,7 @@
#include <stdio.h>
#include <openssl/err.h>
+#include <openssl/opensslconf.h>
#include <openssl/ssl.h>
#include "ssl_locl.h"