Closed kpcyrd closed 5 years ago
Thanks for the PR! I won't be able to test and merge it before the middle of the next week, but meanwhile, I'm curious about the changed logic for skipping cert validation (if you happen to know the details): does accept_invalid_certs
work on all supported platforms? I can't test on Windows and macOS.
The old function danger_connect_async_without_providing_domain_for_certificate_verification_and_server_name_indication
was removed, see the changelog over here: https://github.com/sfackler/rust-native-tls/blob/master/CHANGELOG.md#v020
There are now two functions, one is requiring a trusted cert but doesn't verify the certificate at all, which is closer to the code in the old example. This is a regular function in native-tls, I only tested this on linux, but I assume native-tls has been tested on windows and osx. :)
@inejge any updates? This crate doesn't build on archlinux anymore due to it's openssl 0.9 dependency.
Ouch, thanks for reminding me, I'm afraid I've totally neglected this library recently. Please report any further problems with building on Arch or elsewhere
@inejge thanks! would you mind pushing a new release so I can bump my ldap3 dependency?
I've published 0.6.1 with the accumulated changes.
rustup component add clippy-preview --toolchain=nightly
is the recommended way to run clippy right now