diff options
author | Jonathan Protzenko <protz@microsoft.com> | 2017-05-17 09:09:01 -0700 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-06-09 12:55:48 -0400 |
commit | 8270415d4ab6e3978cdd604d416c4f1f86289c4a (patch) | |
tree | 5250f5f9315e716247a04e69d985f7a70c1ee0fb | |
parent | aaa6cd4e2d10e33a0389b3c927eb5b78f08c8b99 (diff) |
Fix speed command for alternation of ciphers and digests.
CLA: trivial
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3487)
(cherry picked from commit 9ae4e664da0692f27bfe0d1a34db29ed815203c8)
-rw-r--r-- | apps/speed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c index 6cd1021525..5c0996b18f 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -725,6 +725,7 @@ int MAIN(int argc, char **argv) BIO_printf(bio_err, "no EVP given\n"); goto end; } + evp_md = NULL; evp_cipher = EVP_get_cipherbyname(*argv); if (!evp_cipher) { evp_md = EVP_get_digestbyname(*argv); |