Skip to content

Commit c9e56da

Browse files
shahsbt8m
authored andcommitted
Make org.openssl.winstore: work in openssl-ts
Fixes openssl#26739 Reviewed-by: Tom Cosgrove <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from openssl#26833)
1 parent 6b662bf commit c9e56da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/ts.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
10171017
BIO_printf(bio_err, "memory allocation failure\n");
10181018
goto err;
10191019
}
1020-
if (X509_LOOKUP_load_store_ex(lookup, CAstore, libctx, propq) <= 0) {
1020+
if (X509_LOOKUP_add_store_ex(lookup, CAstore, libctx, propq) <= 0) {
10211021
BIO_printf(bio_err, "Error loading store URI %s\n", CAstore);
10221022
goto err;
10231023
}

0 commit comments

Comments
 (0)