From 9ae4e664da0692f27bfe0d1a34db29ed815203c8 Mon Sep 17 00:00:00 2001 From: Jonathan Protzenko Date: Wed, 17 May 2017 09:09:01 -0700 Subject: [PATCH] Fix speed command for alternation of ciphers and digests. CLA: trivial Reviewed-by: Tim Hudson Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3487) --- apps/speed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/speed.c b/apps/speed.c index f64bea9c68..ee55bfdcd7 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1357,6 +1357,7 @@ int speed_main(int argc, char **argv) usertime = 0; break; case OPT_EVP: + evp_md = NULL; evp_cipher = EVP_get_cipherbyname(opt_arg()); if (evp_cipher == NULL) evp_md = EVP_get_digestbyname(opt_arg()); -- 2.25.1