Enable TLS 1.3 with LibreSSL 3.2.2.

This commit is contained in:
Joris Vink 2021-01-21 15:17:21 +02:00
parent 1d931b2f9e
commit a575881cb9
1 changed files with 5 additions and 0 deletions

View File

@ -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