From 62d67c3da12cc52ee59396dbb31de6fa785f114b Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Mon, 4 May 2020 12:54:36 -0600 Subject: [PATCH] Don't need if not using TLS 1.2 --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 3b8fc60dd..8c6f62a63 100644 --- a/src/internal.c +++ b/src/internal.c @@ -19527,7 +19527,7 @@ exit_dpk: #endif /* WOLFSSL_TLS13 || !NO_WOLFSSL_CLIENT */ -#ifdef WOLFSSL_TLS13 +#if defined(WOLFSSL_TLS13) && !defined(WOLFSSL_NO_TLS12) /* returns 1 if able to do TLS 1.3 otherwise 0 */ static int TLSv1_3_Capable(WOLFSSL* ssl) {