mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
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:
parent
87495d56a9
commit
a877d2629b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user