]> git.ipfire.org Git - thirdparty/curl.git/commit
curl-openssl: fix SRP check for OpenSSL 3.0
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sun, 6 Feb 2022 11:26:29 +0000 (12:26 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Mon, 7 Feb 2022 14:20:02 +0000 (15:20 +0100)
commitfe9440fa7233ef39bbada9e2b86a5bfa17145817
tree26aa984039a6ba835a2d54da5fe4cc9a86080f99
parent4028892f14669937cb47d8a165e059503107812a
curl-openssl: fix SRP check for OpenSSL 3.0

When OpenSSL 3.0 is built with `--api=3.0` and `no-deprecated`, the SRP
functions exist in the library, but are disabled for user code. Check
if they are actually usable instead of only if they exist. Also, check
for the functions actually required for TLS-SRP.

TLS-SRP support is still enabled if OpenSSL is configured with just
`--api=3.0` or with `--api=1.1.1 no-deprecated`.

Closes https://github.com/curl/curl/pull/8394
m4/curl-openssl.m4