1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00

refactor: move from aws-lc to ring

This commit is contained in:
Roderick van Domburg 2025-08-13 18:34:40 +02:00
parent c4766ceb99
commit fe7ca0d700
No known key found for this signature in database
GPG key ID: 607FA06CB5236AE0
4 changed files with 12 additions and 178 deletions

View file

@ -145,7 +145,7 @@ impl HttpClient {
fn try_create_hyper_client(proxy_url: Option<&Url>) -> Result<HyperClient, Error> {
// configuring TLS is expensive and should be done once per process
let _ = rustls::crypto::aws_lc_rs::default_provider()
let _ = rustls::crypto::ring::default_provider()
.install_default()
.map_err(|e| {
Error::internal(format!("unable to install default crypto provider: {e:?}"))