apps/cmp.c: clear leftover errors on loading libengines.so etc.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12824)
This commit is contained in:
Dr. David von Oheimb 2020-09-03 16:51:06 +02:00
parent 87495d56a9
commit a877d2629b

View File

@ -2620,6 +2620,7 @@ int cmp_main(int argc, char **argv)
char mock_server[] = "mock server:1";
int ret = 0; /* default: failure */
ERR_clear_error(); /* clear leftover errors on loading libengines.so etc. */
if (argc <= 1) {
opt_help(cmp_options);
goto err;