apps/speed: initialize key material only when its algo is selected.
authorFdaSilvaYY <fdasilvayy@gmail.com>
Tue, 5 Jun 2018 17:44:42 +0000 (19:44 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 9 Dec 2019 08:52:02 +0000 (09:52 +0100)
commit0609658f9b11c787ad2e78e2ecf2aa9bc2771a86
treea189f3a14ce6edf89237c503bb3e6f6d6060fb8a
parentd02b7e09317d6d1bd9626727fbc58c4981881360
apps/speed: initialize key material only when its algo is selected.
Remove some duplicate key data declarations.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10078)
apps/speed.c