bio_ssl.c needs to peek into bio_local.h
authortb <tb@openbsd.org>
Fri, 14 Jan 2022 09:09:30 +0000 (09:09 +0000)
committertb <tb@openbsd.org>
Fri, 14 Jan 2022 09:09:30 +0000 (09:09 +0000)
lib/libssl/Makefile
lib/libssl/bio_ssl.c

index 565a3f1..5a0a7bb 100644 (file)
@@ -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 <bsd.own.mk>
 .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
 
index bb40b2a..f2bf376 100644 (file)
@@ -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 <openssl/err.h>
 #include <openssl/ssl.h>
 
+#include "bio_local.h"
 #include "ssl_locl.h"
 
 static int ssl_write(BIO *h, const char *buf, int num);