diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-16 00:08:38 -0500 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-20 19:04:26 -0500 |
commit | 0996dc5440cc233f029129182bbb6e3d4613045a (patch) | |
tree | 7b54822da3319212fc52d6b9e1d463c770fa0495 /apps/s_cb.c | |
parent | 6e8beabcd4b9450a3a7358bf5668b2bc70580517 (diff) | |
download | openssl-0996dc5440cc233f029129182bbb6e3d4613045a.tar.gz |
Refactor apps load_certs/load_crls to work incrementally
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r-- | apps/s_cb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c index c72e4c2314..55d2c39e8b 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -1002,9 +1002,8 @@ int load_excert(SSL_EXCERT **pexc) if (!exc->key) return 0; if (exc->chainfile) { - exc->chain = load_certs(exc->chainfile, FORMAT_PEM, - NULL, NULL, "Server Chain"); - if (!exc->chain) + if (!load_certs(exc->chainfile, &exc->chain, FORMAT_PEM, NULL, + NULL, "Server Chain")) return 0; } } |