Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7c584bb04874bb5bad16fcf3996f5a893cc81a1c
      
https://github.com/tianocore/edk2/commit/7c584bb04874bb5bad16fcf3996f5a893cc81a1c
  Author: Qingyu <[email protected]>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c

  Log Message:
  -----------
  CryptoPkg: Fix bug for correct return value checking when get X509Cert

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4509

CryptX509.c file has X509GetTBSCert() funtion and it is added Inf variable
to collect the return value of ASN1_get_object(), which return 0x80 in error
case. Supplement the return value check during the second function call
and correct the check logic.

Signed-off-by: Qingyu <[email protected]>
Cc: Jiewen Yao <[email protected]>
Reviewed-by: Yi Li <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to