We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uses the method SslAcceptorBuilder::mozilla_intermediate which has been deprecated in the ssl package since 0.9.14
SslAcceptorBuilder::mozilla_intermediate
ssl
0.9.14
The text was updated successfully, but these errors were encountered:
I don't know enough about rust to confidently open a PR for this, but I think the code:
let acceptor = Rc::new(SslAcceptorBuilder::mozilla_intermediate( SslMethod::tls(), &pkey, &cert, std::iter::empty::<X509Ref>(), ).unwrap().build());
Can be replaced with this new code that works with the most recent opensll api:
let mut acceptor_builder = SslAcceptor::mozilla_intermediate(SslMethod::tls()).unwrap(); acceptor_builder.set_private_key(&pkey).unwrap(); acceptor_builder.set_certificate(&cert).unwrap(); let acceptor = Rc::new(acceptor_builder.build());
Sorry, something went wrong.
With openssl 0.10.24 and later, mozilla_intermediate_v5() should be used. The old mozilla_intermediate() does not have TLS 1.3.
No branches or pull requests
Uses the method
SslAcceptorBuilder::mozilla_intermediate
which has been deprecated in thessl
package since0.9.14
The text was updated successfully, but these errors were encountered: