apps/speed: improve sm2 failure code.
authorFdaSilvaYY <fdasilvayy@gmail.com>
Sat, 19 Oct 2019 15:55:36 +0000 (17:55 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 9 Dec 2019 08:52:02 +0000 (09:52 +0100)
commit001d5e2c64f9fedc639ab91a075241e6089bbb4a
tree0b225e891051e28aa22a760ff5b3732e086bd649
parentf607f6eadd15fefcd0d9b5e03510a91702af5a3d
apps/speed: improve sm2 failure code.
attach the new objects sooner, so error handling is simplified.

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