You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-07 17:03:01 +03:00
Fix the native-certs (and therefore docker) build
This commit is contained in:
@@ -43,8 +43,7 @@ fn load_tls_roots_blocking() -> Result<rustls::RootCertStore, NativeRootsLoadErr
|
||||
let mut roots = rustls::RootCertStore::empty();
|
||||
let certs = rustls_native_certs::load_native_certs()?;
|
||||
for cert in certs {
|
||||
let cert = rustls::Certificate(cert.0);
|
||||
roots.add(&cert)?;
|
||||
roots.add(cert)?;
|
||||
}
|
||||
|
||||
if roots.is_empty() {
|
||||
|
Reference in New Issue
Block a user