mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08:00
openssl: identify the "quictls" backend correctly
Since vanilla OpenSSL does not support the QUIC API I think it helps users to identify the correct OpenSSL fork in version output. The best (crude) way to do that right now seems to be to check if ngtcp2 support is enabled. Closes #12270
This commit is contained in:
parent
859e88f653
commit
86d4a4124e
@ -240,7 +240,11 @@
|
||||
#elif defined(OPENSSL_IS_AWSLC)
|
||||
#define OSSL_PACKAGE "AWS-LC"
|
||||
#else
|
||||
#define OSSL_PACKAGE "OpenSSL"
|
||||
# if defined(USE_NGTCP2) && defined(USE_NGHTTP3)
|
||||
# define OSSL_PACKAGE "quictls"
|
||||
# else
|
||||
# define OSSL_PACKAGE "OpenSSL"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
|
||||
|
Loading…
x
Reference in New Issue
Block a user