summaryrefslogtreecommitdiffstats
path: root/apps/smime.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-08-14 21:58:34 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-08-20 14:55:34 +0200
commitb3c5aadf4ce3dc2207cc605726bf370a55b531c9 (patch)
tree5bb19360081b1ab928eb3dcede98f13caaa8ebac /apps/smime.c
parentFix mem leaks on PKCS#12 read error in PKCS12_key_gen_{asc,utf8} (diff)
downloadopenssl-b3c5aadf4ce3dc2207cc605726bf370a55b531c9.tar.xz
openssl-b3c5aadf4ce3dc2207cc605726bf370a55b531c9.zip
apps: make use of OSSL_STORE for generalized certs and CRLs loading
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12647)
Diffstat (limited to 'apps/smime.c')
-rw-r--r--apps/smime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/smime.c b/apps/smime.c
index 4dfc80d440..5ecdc019d2 100644
--- a/apps/smime.c
+++ b/apps/smime.c
@@ -449,8 +449,7 @@ int smime_main(int argc, char **argv)
}
if (certfile != NULL) {
- if (!load_certs(certfile, &other, FORMAT_PEM, NULL,
- "certificate file")) {
+ if (!load_certs(certfile, &other, NULL, "certificates")) {
ERR_print_errors(bio_err);
goto end;
}