소스 검색

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.

(Imported from upstream's b07e4f2f46)
kris/onging/CECPQ3_patch15
Adam Langley 10 년 전
부모
커밋
ec72cf5a1c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      crypto/x509/x509_vfy.c

+ 1
- 1
crypto/x509/x509_vfy.c 파일 보기

@@ -1726,7 +1726,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;


불러오는 중...
취소
저장