summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.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_tlsext.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_tlsext.c')
-rw-r--r--src/lib/libssl/ssl_tlsext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.c b/src/lib/libssl/ssl_tlsext.c
index 0ed53f7ab2..be3756a9fe 100644
--- a/src/lib/libssl/ssl_tlsext.c
+++ b/src/lib/libssl/ssl_tlsext.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_tlsext.c,v 1.90 2021/04/22 18:27:53 tb Exp $ */ 1/* $OpenBSD: ssl_tlsext.c,v 1.91 2021/05/16 08:24:21 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -20,6 +20,7 @@
20#include <ctype.h> 20#include <ctype.h>
21 21
22#include <openssl/ocsp.h> 22#include <openssl/ocsp.h>
23#include <openssl/opensslconf.h>
23 24
24#include "ssl_locl.h" 25#include "ssl_locl.h"
25 26