From 7307f1dd5e30b646fc44384ead7b0ded4fb8f217 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 10 May 2020 14:22:51 +0000 Subject: Provide an easy way to get debug information from TLSv1.3 handshakes. This makes it easier to debug TLSv1.3 handshake failures. "Yes please!" tb@, ok beck@ --- src/lib/libssl/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libssl/Makefile') diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index 7631dd4cd4..d88e1e9a73 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.64 2020/03/13 16:40:42 jsing Exp $ +# $OpenBSD: Makefile,v 1.65 2020/05/10 14:22:51 jsing Exp $ .include .ifndef NOMAN @@ -20,6 +20,9 @@ CFLAGS+= -DLIBRESSL_INTERNAL CFLAGS+= -DLIBRESSL_HAS_TLS1_3_CLIENT CFLAGS+= -DLIBRESSL_HAS_TLS1_3_SERVER .endif +.ifdef TLS1_3_DEBUG +CFLAGS+= -DTLS13_DEBUG +.endif CFLAGS+= -I${.CURDIR} LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto -- cgit v1.2.3-55-g6feb