diff options
Diffstat (limited to 'apps/ts.c')
-rw-r--r-- | apps/ts.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -980,9 +980,8 @@ static X509_STORE *create_cert_store(const char *CApath, const char *CAfile, BIO_printf(bio_err, "memory allocation failure\n"); goto err; } - if (!X509_LOOKUP_load_file_with_libctx(lookup, CAfile, - X509_FILETYPE_PEM, - libctx, propq)) { + if (!X509_LOOKUP_load_file_ex(lookup, CAfile, X509_FILETYPE_PEM, libctx, + propq)) { BIO_printf(bio_err, "Error loading file %s\n", CAfile); goto err; } @@ -994,7 +993,7 @@ static X509_STORE *create_cert_store(const char *CApath, const char *CAfile, BIO_printf(bio_err, "memory allocation failure\n"); goto err; } - if (!X509_LOOKUP_load_store_with_libctx(lookup, CAstore, libctx, propq)) { + if (!X509_LOOKUP_load_store_ex(lookup, CAstore, libctx, propq)) { BIO_printf(bio_err, "Error loading store URI %s\n", CAstore); goto err; } |