mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:51:59 +01:00
Fixed checking for TLSv1.3 support
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
cd86c86fe8
commit
fcaa841da0
@ -152,7 +152,7 @@ int get_tls_protocol_number(char *protocol){
|
|||||||
{ "TLSv1", TLS1_VERSION },
|
{ "TLSv1", TLS1_VERSION },
|
||||||
{ "TLSv1.1", TLS1_1_VERSION },
|
{ "TLSv1.1", TLS1_1_VERSION },
|
||||||
{ "TLSv1.2", TLS1_2_VERSION },
|
{ "TLSv1.2", TLS1_2_VERSION },
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
#ifdef TLS1_3_VERSION
|
||||||
{ "TLSv1.3", TLS1_3_VERSION },
|
{ "TLSv1.3", TLS1_3_VERSION },
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user