From 0996dc5440cc233f029129182bbb6e3d4613045a Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Sat, 16 Jan 2016 00:08:38 -0500 Subject: Refactor apps load_certs/load_crls to work incrementally Reviewed-by: Richard Levitte --- apps/smime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/smime.c') diff --git a/apps/smime.c b/apps/smime.c index 551a8fd44d..024e83b1d2 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -468,8 +468,8 @@ int smime_main(int argc, char **argv) } if (certfile) { - if ((other = load_certs(certfile, FORMAT_PEM, NULL, - e, "certificate file")) == NULL) { + if (!load_certs(certfile, &other, FORMAT_PEM, NULL, e, + "certificate file")) { ERR_print_errors(bio_err); goto end; } -- cgit v1.2.3