From 341e4b19bd604e023d9b012d3649f282073fb271 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Fri, 14 Jan 2022 09:09:31 +0000 Subject: bio_ssl.c needs to peek into bio_local.h --- lib/libssl/Makefile | 3 ++- lib/libssl/bio_ssl.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libssl/Makefile b/lib/libssl/Makefile index 565a3f15433..5a0a7bbc020 100644 --- a/lib/libssl/Makefile +++ b/lib/libssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.73 2022/01/05 17:10:02 jsing Exp $ +# $OpenBSD: Makefile,v 1.74 2022/01/14 09:09:30 tb Exp $ .include .ifndef NOMAN @@ -24,6 +24,7 @@ CFLAGS+= -DLIBRESSL_HAS_TLS1_3_SERVER CFLAGS+= -DTLS13_DEBUG .endif CFLAGS+= -I${.CURDIR} +CFLAGS+= -I${.CURDIR}/../libcrypto/bio LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto diff --git a/lib/libssl/bio_ssl.c b/lib/libssl/bio_ssl.c index bb40b2a6f75..f2bf376fc21 100644 --- a/lib/libssl/bio_ssl.c +++ b/lib/libssl/bio_ssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_ssl.c,v 1.31 2021/07/01 17:53:39 jsing Exp $ */ +/* $OpenBSD: bio_ssl.c,v 1.32 2022/01/14 09:09:30 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -66,6 +66,7 @@ #include #include +#include "bio_local.h" #include "ssl_locl.h" static int ssl_write(BIO *h, const char *buf, int num); -- cgit v1.2.3