]> git.ipfire.org Git - thirdparty/curl.git/commit
TLS: fix SRP detection by using the proper #ifdefs
authorDaniel Stenberg <daniel@haxx.se>
Thu, 27 Aug 2020 10:46:43 +0000 (12:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 28 Aug 2020 12:13:05 +0000 (14:13 +0200)
commit68a51324740945f1da9758bc1d26bbe4835bd847
tree529e597f750ae3918ee5ad7e905e26e76c149f3a
parentc77f6fd1cb19015c5e728235af860f09636fefbd
TLS: fix SRP detection by using the proper #ifdefs

USE_TLS_SRP will be true if *any* selected TLS backend can use SRP

HAVE_OPENSSL_SRP is defined when OpenSSL can use it

HAVE_GNUTLS_SRP is defined when GnuTLS can use it

Clarify in the curl_verison_info docs that CURL_VERSION_TLSAUTH_SRP is
set if at least one of the supported backends offers SRP.

Reported-by: Stefan Strogin
Fixes #5865
Closes #5870
docs/libcurl/curl_version_info.3
lib/vtls/gtls.c
lib/vtls/openssl.c