test/evp_test.c: fix keygen_test_run()
authorRichard Levitte <levitte@openssl.org>
Tue, 18 Feb 2020 14:35:24 +0000 (15:35 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 12 Mar 2020 09:44:02 +0000 (10:44 +0100)
commit88af1ebb04bf9db0da9bb3949b407dc46e5d6644
treea7b203fb89d39c7c0fa0c6f06231e1aa439e6f2d
parent2972af109e10c5ce30e548190e3eee28327d6043
test/evp_test.c: fix keygen_test_run()

There was a misunderstanding what it should return.  It should return
0 on internal error, but 1 even if the thing it tests fails (the error
is determined by |t->err|).

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10289)
test/evp_test.c