Skip to content

Commit

Permalink
apps/cmp.c: clear leftover errors on loading libengines.so etc.
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from #12824)
  • Loading branch information
DDvO committed Sep 10, 2020
1 parent 87495d5 commit a877d26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/cmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a877d26

Please sign in to comment.