Skip to content

Commit

Permalink
CID 444416
Browse files Browse the repository at this point in the history
  • Loading branch information
msi-debian authored and msi-debian committed Dec 24, 2024
1 parent 93812e4 commit 545257e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,8 @@ int wolfSSL_X509_add_ext(WOLFSSL_X509 *x509, WOLFSSL_X509_EXTENSION *ext,

/* ext->crit is WOLFSSL_ASN1_BOOLEAN */
if (ext->crit != 0 && ext->crit != -1) {
XFREE(val, x509->heap, DYNAMIC_TYPE_X509_EXT);
XFREE(oid, x509->heap, DYNAMIC_TYPE_X509_EXT);
return WOLFSSL_FAILURE;
}

Expand Down

0 comments on commit 545257e

Please sign in to comment.