mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-28 16:40:00 -07:00
Avoid rustcrypto backend for release builds
This commit is contained in:
committed by
Cooper Quintin
parent
3dc807fc63
commit
549d3a6a8f
@@ -169,9 +169,12 @@ fn run_shutdown_thread(
|
||||
async fn main() -> Result<(), RayhunterError> {
|
||||
env_logger::init();
|
||||
|
||||
rustls_rustcrypto::provider()
|
||||
.install_default()
|
||||
.expect("Couldn't install rustcrypto provider");
|
||||
#[cfg(feature = "rustcrypto-tls")]
|
||||
{
|
||||
rustls_rustcrypto::provider()
|
||||
.install_default()
|
||||
.expect("Couldn't install rustcrypto provider");
|
||||
}
|
||||
|
||||
let args = parse_args();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user