Skip to content

Commit

Permalink
fix(util): use rustls as the curl TLS backend
Browse files Browse the repository at this point in the history
Making this change allows cargo to be used on Windows 7 and 8.1 against
the current Fastly TLS configuration.

This does the minimal amount of plumbing required for curl to be built
with rustls as the TLS backend, and for rustls to be configured with the
system store's root certificate bundle. (Using webpki_roots would be
inappropriate, since enterprise users may have custom CA roots
configured.)

I've made no effort to make this configurable thus far. Presumably we'd
only want to do this on Windows, if at all.

Technically, this would fix rust-lang#8154.
  • Loading branch information
LawnGnome committed Jul 21, 2023
1 parent 00b8da6 commit b0888df
Show file tree
Hide file tree
Showing 4 changed files with 320 additions and 3 deletions.
Loading

0 comments on commit b0888df

Please sign in to comment.