SslMethod};// 从当前文件夹中导入tokio_opensslusesuper::tokio_openssl::SslStream;pubasyncfnopenssl_test(){letmutctx:openssl::ssl::SslConnectorBuilder=SslConnector::builder(SslMethod::ntls_client()).unwrap();
Update openssl-probe to 0.1.1 zsh completions cleanup Alias 'rustup toolchain uninstall' to 'rustup uninstall' Fix a typo in PowerShell completion script help Enforce timeouts for reading rustc version Fix OpenSSL linkage by using the final install-directory in the build Contributors: bors, Brian...
thread 'main' panicked at 'called Result::unwrap()on anErr value: Failure(MidHandshakeSslStream { stream: SslStream { stream: TcpStream { addr: V4(127.0.0.1:39962), peer: V4(127.0.0.1:6666), fd: 3 }, ssl: Ssl { state: "SSLv3/TLS write client hello", verify_result: X509VerifyResu...
self, MidHandshakeSslStream, SslAcceptor, SslConnector, SslContextBuilder, SslMethod, SslVerifyMode, @@ -16,7 +16,6 @@ use std::fmt; use std::io; use std::sync::Once; use self::openssl::pkey::Private; use {Protocol, TlsAcceptorBuilder, TlsConnectorBuilder}; #[cfg(have_min_max_versi...
pub struct SslStream<S> { // FIXME use ManuallyDrop ssl: Ssl, _method: BioMethod, // NOTE: this *must* be after the Ssl field so things drop right _p: PhantomData<S>, @@ -1699,6 +1702,7 @@ impl<S: Read + Write> SslStream<S> { ...
@brson for now it might make sense to back out of native-tls back to openssl, but include the verify stuff. I'm in the process of rewriting the schannel library and that may resolve these weird issues as well. Contributor brson commented May 9, 2016 That may be best, yeah. Contributo...
Update openssl-probe to 0.1.1 zsh completions cleanup Alias 'rustup toolchain uninstall' to 'rustup uninstall' Fix a typo in PowerShell completion script help Enforce timeouts for reading rustc version Fix OpenSSL linkage by using the final install-directory in the build Contributors: bors, Brian...