Skip to content

Commit

Permalink
Merge pull request #7305 from embhorn/zd17629
Browse files Browse the repository at this point in the history
Fix leak in wolfSSL_X509_STORE_CTX_get_chain
  • Loading branch information
SparkiDev authored Mar 7, 2024
2 parents 39ad676 + a0a9680 commit b7c36fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/x509_str.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ WOLFSSL_STACK* wolfSSL_X509_STORE_CTX_get_chain(WOLFSSL_X509_STORE_CTX* ctx)
}
}
else {
wolfSSL_X509_free(x509);
WOLFSSL_MSG("Could not find CA for certificate");
}
}
Expand Down

0 comments on commit b7c36fa

Please sign in to comment.