summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_srvr.c
diff options
context:
space:
mode:
authorjsing <>2021-05-16 08:24:21 +0000
committerjsing <>2021-05-16 08:24:21 +0000
commitb38eb13d0250b437c5743cee5f970c84ec31d898 (patch)
treec555c29a1b17b1ecaa4ed197e78441f09086f14b /src/lib/libssl/ssl_srvr.c
parentef9d8bd13ca04028d27714bedb7b235bc28a7725 (diff)
downloadopenbsd-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_srvr.c')
-rw-r--r--src/lib/libssl/ssl_srvr.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_srvr.c b/src/lib/libssl/ssl_srvr.c
index f884ea316f..5891424b26 100644
--- a/src/lib/libssl/ssl_srvr.c
+++ b/src/lib/libssl/ssl_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_srvr.c,v 1.108 2021/05/02 17:46:58 jsing Exp $ */ 1/* $OpenBSD: ssl_srvr.c,v 1.109 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 *
@@ -157,14 +157,16 @@
157#include <openssl/curve25519.h> 157#include <openssl/curve25519.h>
158#include <openssl/evp.h> 158#include <openssl/evp.h>
159#include <openssl/dh.h> 159#include <openssl/dh.h>
160#ifndef OPENSSL_NO_GOST
161#include <openssl/gost.h>
162#endif
163#include <openssl/hmac.h> 160#include <openssl/hmac.h>
164#include <openssl/md5.h> 161#include <openssl/md5.h>
165#include <openssl/objects.h> 162#include <openssl/objects.h>
163#include <openssl/opensslconf.h>
166#include <openssl/x509.h> 164#include <openssl/x509.h>
167 165
166#ifndef OPENSSL_NO_GOST
167#include <openssl/gost.h>
168#endif
169
168#include "bytestring.h" 170#include "bytestring.h"
169#include "ssl_sigalgs.h" 171#include "ssl_sigalgs.h"
170#include "ssl_tlsext.h" 172#include "ssl_tlsext.h"