wolfcrypt/src/asn.c: fix for benign identicalInnerCondition in ParseCertRelative().

This commit is contained in:
Daniel Pouzzner
2024-04-01 23:50:05 -05:00
parent 10d210ce26
commit 092dba4593

View File

@ -23813,10 +23813,10 @@ int ParseCertRelative(DecodedCert* cert, int type, int verify, void* cm)
DYNAMIC_TYPE_DCERT);
if (der == NULL) {
ret = MEMORY_E;
}
} else
#endif /* ! WOLFSSL_SMALL_STACK */
if (ret == 0) {
{
ret = wc_GeneratePreTBS(cert, der, MAX_CERT_VERIFY_SZ);
if (ret > 0) {