Commit ebacf25a authored by Jonathan Protzenko's avatar Jonathan Protzenko Committed by Rich Salz
Browse files

Fix speed command for alternation of ciphers and digests.



CLA: trivial

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3487)

(cherry picked from commit 9ae4e664)
parent a8927669
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1378,6 +1378,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());