commit a575881cb9cfcaf3803798a00b7ef7e1c739643b
parent 1d931b2f9e0cf7454524592900162cf6588dd52c
Author: Joris Vink <joris@coders.se>
Date: Thu, 21 Jan 2021 15:17:21 +0200
Enable TLS 1.3 with LibreSSL 3.2.2.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/kore/kore.h b/include/kore/kore.h
@@ -68,6 +68,11 @@ extern int daemon(int, int);
#if LIBRESSL_VERSION_NUMBER >= 0x3000000fL
#define KORE_OPENSSL_NEWER_API 1
#endif
+
+#if LIBRESSL_VERSION_NUMBER >= 0x3020200fL
+#define TLS1_3_VERSION 0x0304
+#endif
+
#else
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
#define KORE_OPENSSL_NEWER_API 1