diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-16 06:08:38 +0100 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-21 01:04:26 +0100 |
commit | 0996dc5440cc233f029129182bbb6e3d4613045a (patch) | |
tree | 7b54822da3319212fc52d6b9e1d463c770fa0495 /apps/smime.c | |
parent | More X509_verify_cert() tests via verify(1). (diff) | |
download | openssl-0996dc5440cc233f029129182bbb6e3d4613045a.tar.xz openssl-0996dc5440cc233f029129182bbb6e3d4613045a.zip |
Refactor apps load_certs/load_crls to work incrementally
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/smime.c')
-rw-r--r-- | apps/smime.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |