Skip to content

Commit 092dba4

Browse files
committed
wolfcrypt/src/asn.c: fix for benign identicalInnerCondition in ParseCertRelative().
1 parent 10d210c commit 092dba4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfcrypt/src/asn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23813,10 +23813,10 @@ int ParseCertRelative(DecodedCert* cert, int type, int verify, void* cm)
2381323813
DYNAMIC_TYPE_DCERT);
2381423814
if (der == NULL) {
2381523815
ret = MEMORY_E;
23816-
}
23816+
} else
2381723817
#endif /* ! WOLFSSL_SMALL_STACK */
2381823818

23819-
if (ret == 0) {
23819+
{
2382023820
ret = wc_GeneratePreTBS(cert, der, MAX_CERT_VERIFY_SZ);
2382123821

2382223822
if (ret > 0) {

0 commit comments

Comments
 (0)