mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Include TA in checks/callback with partial chains.
When a chain is complete and ends in a trusted root checks are also performed on the TA and the callback notified with ok==1. For consistency do the same for chains where the TA is not self signed.
This commit is contained in:
parent
2dac2667d1
commit
385b348666
@ -1755,7 +1755,7 @@ static int internal_verify(X509_STORE_CTX *ctx)
|
||||
xs=xi;
|
||||
else
|
||||
{
|
||||
if (ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN && n == 0)
|
||||
if (ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN)
|
||||
{
|
||||
xs = xi;
|
||||
goto check_cert;
|
||||
|
Loading…
Reference in New Issue
Block a user