]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Make org.openssl.winstore: work in openssl-ts
authorShakti Shah <shaktishah33@gmail.com>
Wed, 19 Feb 2025 16:08:36 +0000 (21:38 +0530)
committerTomas Mraz <tomas@openssl.org>
Thu, 20 Feb 2025 19:24:45 +0000 (20:24 +0100)
Fixes #26739

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26833)

apps/ts.c

index 49d516ba994a0e1ba1551fc6653f0a873e871ccd..00c8fae1a6d335957c4a328b356886f19540b9e8 100644 (file)
--- 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;
         }