|
|
@ -107,7 +107,7 @@ mod encryption { |
|
|
|
for cert in rustls_native_certs::load_native_certs()? { |
|
|
|
for cert in rustls_native_certs::load_native_certs()? { |
|
|
|
root_store |
|
|
|
root_store |
|
|
|
.add(&rustls::Certificate(cert.0)) |
|
|
|
.add(&rustls::Certificate(cert.0)) |
|
|
|
.map_err(TlsError::Webpki)?; |
|
|
|
.map_err(TlsError::Rustls)?; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
#[cfg(feature = "rustls-tls-webpki-roots")] |
|
|
|
#[cfg(feature = "rustls-tls-webpki-roots")] |
|
|
|