mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-31 10:46:58 +02:00
feat: add rustls v0.22 support (#513)
This commit is contained in:
@@ -39,7 +39,7 @@ pub mod reexports {
|
||||
pub fn native_roots_cert_store() -> io::Result<RootCertStore> {
|
||||
let mut root_certs = RootCertStore::empty();
|
||||
|
||||
for cert in rustls_native_certs::load_native_certs()? {
|
||||
for cert in rustls_native_certs_06::load_native_certs()? {
|
||||
root_certs
|
||||
.add(&tokio_rustls_023::rustls::Certificate(cert.0))
|
||||
.unwrap();
|
||||
|
Reference in New Issue
Block a user