We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b77f4 commit cdd9f89Copy full SHA for cdd9f89
src/imp/openssl.rs
@@ -91,7 +91,7 @@ fn supported_protocols(
91
92
fn init_trust() {
93
static ONCE: Once = Once::new();
94
- ONCE.call_once(|| openssl_probe::init_ssl_cert_env_vars());
+ ONCE.call_once(openssl_probe::init_ssl_cert_env_vars);
95
}
96
97
#[cfg(target_os = "android")]
@@ -158,7 +158,7 @@ impl Identity {
158
Ok(Identity {
159
pkey: parsed.pkey,
160
cert: parsed.cert,
161
- chain: parsed.chain.into_iter().flat_map(|x| x).collect(),
+ chain: parsed.chain.into_iter().flatten().collect(),
162
})
163
164
0 commit comments