diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-03 16:51:06 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-10 07:12:20 +0200 |
commit | a877d2629b8a512aae550be68b9afd91eae22f19 (patch) | |
tree | b7efc0712571549b02b3d1e20dade78f6539fa44 | |
parent | 87495d56a959b0c3a3f6d8305d84d1b21e9222a6 (diff) |
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)
-rw-r--r-- | apps/cmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index 7524930b8f..3e7b010fcb 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -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; |