diff options
Diffstat (limited to 'ext/net/ops_tls.rs')
-rw-r--r-- | ext/net/ops_tls.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs index 0b84415b9..fe0e70a5c 100644 --- a/ext/net/ops_tls.rs +++ b/ext/net/ops_tls.rs @@ -878,10 +878,10 @@ where .and_then(|it| it.0.clone()); if args.cert_chain.is_some() { - super::check_unstable2(&state, "ConnectTlsOptions.certChain"); + super::check_unstable(&state.borrow(), "ConnectTlsOptions.certChain"); } if args.private_key.is_some() { - super::check_unstable2(&state, "ConnectTlsOptions.privateKey"); + super::check_unstable(&state.borrow(), "ConnectTlsOptions.privateKey"); } { |