summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-14 09:09:31 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-14 09:09:31 +0000
commit341e4b19bd604e023d9b012d3649f282073fb271 (patch)
treecbc1e73015aee134df5bd1334ebdaa786a1ba5c2
parent8fa8f652be902adfa18b0da6fdf6814a98c1030c (diff)
bio_ssl.c needs to peek into bio_local.h
-rw-r--r--lib/libssl/Makefile3
-rw-r--r--lib/libssl/bio_ssl.c3
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 <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
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 <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);