mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
With GnuTLS 3.8.0+ the build-time SRP feature detection always succeeds. It's also disabled by default in these GnuTLS versions. When using TLS-SRP without it being available in GnuTLS, report the correct error code `CURLE_NOT_BUILT_IN`, replacing the out of memory error reported before this patch. Also add comments to autotools and cmake scripts about this feature detection property. Detecting it at build-time would need to run code which doesn't work in cross-builds. Once curl requires 3.8.0 as minimum, the build-time checks can be deleted. ``` # before: curl: (27) gnutls_srp_allocate_client_cred() failed: An unimplemented or disabled feature has been requested. # after: curl: (4) GnuTLS: TLS-SRP support not built in: An unimplemented or disabled feature has been requested. ``` Ref: |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| curl-amissl.m4 | ||
| curl-apple-sectrust.m4 | ||
| curl-compilers.m4 | ||
| curl-confopts.m4 | ||
| curl-functions.m4 | ||
| curl-gnutls.m4 | ||
| curl-mbedtls.m4 | ||
| curl-openssl.m4 | ||
| curl-override.m4 | ||
| curl-reentrant.m4 | ||
| curl-rustls.m4 | ||
| curl-schannel.m4 | ||
| curl-sysconfig.m4 | ||
| curl-wolfssl.m4 | ||
| xc-am-iface.m4 | ||
| xc-cc-check.m4 | ||
| xc-lt-iface.m4 | ||
| xc-val-flgs.m4 | ||
| zz40-xc-ovr.m4 | ||
| zz50-xc-ovr.m4 | ||
| zz60-xc-ovr.m4 | ||