Skip to content

Commit

Permalink
fixup! APPS/load_key_certs_crls(): refactor to clean up the code a li…
Browse files Browse the repository at this point in the history
…ttle and add clarifying comments
  • Loading branch information
DDvO committed Jul 10, 2024
1 parent 741f7f3 commit c1ee168
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/lib/apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,8 @@ int load_key_certs_crls(const char *uri, int format, int maybe_stdin,
uri != NULL ? uri : "<stdin>");
return 0;
}
ERR_set_mark(); /* suppress (most) low-level errors during loading */
/* suppress any extraneous errors left over from failed parse attempts */
ERR_set_mark();

SET_EXPECT1(ppkey, OSSL_STORE_INFO_PKEY);
SET_EXPECT1(ppubkey, OSSL_STORE_INFO_PUBKEY);
Expand Down

0 comments on commit c1ee168

Please sign in to comment.