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)
(cherry picked from commit
c9e56da7774bbaca1597bbc754b4111729914e5c)
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;
}