forked from mirrors/kore
Enable TLS 1.3 with LibreSSL 3.2.2.
This commit is contained in:
parent
1d931b2f9e
commit
a575881cb9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue