From: tb Date: Fri, 14 Jan 2022 09:09:30 +0000 (+0000) Subject: bio_ssl.c needs to peek into bio_local.h X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a366758fd3d411e3470f56eb3f92718adc0900ac;p=openbsd bio_ssl.c needs to peek into bio_local.h --- 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);