From f84eaf4f056c69a86fad6093da20b887da9d816a Mon Sep 17 00:00:00 2001 From: Stas Kelvich Date: Mon, 27 Sep 2021 10:31:37 +0300 Subject: [PATCH] Leave only pkcs8 keys support for proxy. rsa_private_keys() function returns an empty vector when tries to read pkcs8-encoded file instead of returning an error. So previous check was failing on pkcs8. Leave only pkcs8 for now. --- proxy/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proxy/src/main.rs b/proxy/src/main.rs index 200dde9007..a136f0e548 100644 --- a/proxy/src/main.rs +++ b/proxy/src/main.rs @@ -56,8 +56,7 @@ fn configure_ssl(arg_matches: &ArgMatches) -> anyhow::Result