summaryrefslogtreecommitdiff
path: root/m4/curl-rustls.m4
Commit message (Collapse)AuthorAgeFilesLines
* configure: add -lm to configure for rustls build.Jacob Hoffman-Andrews2021-11-131-8/+3
| | | | | | | | | Note: The list of libraries that rustc tells us we need to include is longer, but also includes some more platform-specific libraries that I am not sure how to effectively incorporate. Adding just -lm seems to solve an immediate problem, so I'm adding just that. Closes #8002
* vtls/rustls: update to compile with rustls-ffi v0.8.0Kevin Burke2021-11-111-4/+4
| | | | | | | | | | | | Some method names, as well as the generated library name, were changed in a recent refactoring. Further, change the default configuration instructions to check for Hyper in either "target/debug" or "target/release" - the latter contains an optimized build configuration. Fixes #7947 Closes #7948
* rustls: remove native_roots fallbackJacob Hoffman-Andrews2021-06-141-3/+0
| | | | | | | | | | | For the commandline tool, we expect to be passed SSL_CONN_CONFIG(CAfile); for library use, the use should pass a set of trusted roots (like in other TLS backends). This also removes a dependency on Security.framework when building on macOS. Closes #7250
* rustls: switch read_tls and write_tls to callbacksJacob Hoffman-Andrews2021-05-241-1/+1
| | | | | | | And update to 0.6.0, including a rename from session to connection for many fields. Closes #7071
* m4: add security frameworks on Mac when compiling rustlsKevin Burke2021-04-251-0/+3
| | | | | | | | | | | | | | | | Previously compiling rustls on Mac would only complete if you also compiled the SecureTransport TLS backend, which curl would prefer to the Rust backend. Appending these flags to LDFLAGS makes it possible to compile the Rustls backend on Mac without the SecureTransport backend, which means this patch will make it possible for Mac users to use the Rustls backend for TLS. Reviewed-by: Jacob Hoffman-Andrews Fixes #6955 Cloes #6956
* configure: split out each TLS library detector into its own functionDaniel Stenberg2021-04-221-0/+106
... and put those functions in separate m4 files per TLS library.