mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:57:18 +03:00
openssl: clear retry flag on x509 error
When loading the trust anchors and encountering an error, clear a possibly set retry flag. Reported in Joshua's sarif data Closes #18724
This commit is contained in:
parent
5f4f70e06d
commit
887b863b00
1 changed files with 1 additions and 0 deletions
|
|
@ -741,6 +741,7 @@ static int ossl_bio_cf_in_read(BIO *bio, char *buf, int blen)
|
|||
if(!octx->x509_store_setup) {
|
||||
r2 = Curl_ssl_setup_x509_store(cf, data, octx->ssl_ctx);
|
||||
if(r2) {
|
||||
BIO_clear_retry_flags(bio);
|
||||
octx->io_result = r2;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue