From: Shakti Shah Date: Wed, 19 Feb 2025 16:08:36 +0000 (+0530) Subject: Make org.openssl.winstore: work in openssl-ts X-Git-Tag: openssl-3.4.2~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8113bb688c6d162d008a3ff7a0f01aff3be4925a;p=thirdparty%2Fopenssl.git Make org.openssl.winstore: work in openssl-ts Fixes #26739 Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26833) (cherry picked from commit c9e56da7774bbaca1597bbc754b4111729914e5c) --- diff --git a/apps/ts.c b/apps/ts.c index 49d516ba994..00c8fae1a6d 100644 --- a/apps/ts.c +++ b/apps/ts.c @@ -1017,7 +1017,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_ex(lookup, CAstore, libctx, propq) <= 0) { + if (X509_LOOKUP_add_store_ex(lookup, CAstore, libctx, propq) <= 0) { BIO_printf(bio_err, "Error loading store URI %s\n", CAstore); goto err; }