From 569ac6ae47542ab678a23a440d659ae25196fdc7 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 14 Jan 2022 09:09:30 +0000 Subject: bio_ssl.c needs to peek into bio_local.h --- src/lib/libssl/Makefile | 3 ++- src/lib/libssl/bio_ssl.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index 565a3f1543..5a0a7bbc02 100644 --- a/src/lib/libssl/Makefile +++ b/src/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/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c index bb40b2a6f7..f2bf376fc2 100644 --- a/src/lib/libssl/bio_ssl.c +++ b/src/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-55-g6feb