Skip to content

Commit 1ac4ba2

Browse files
committed
remove early der free
1 parent 5d54d8a commit 1ac4ba2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/ssl_api_pk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ static int check_cert_key(const DerBuffer* cert, const DerBuffer* key,
226226
InitDecodedCert_ex(der, cert->buffer, cert->length, heap, devId);
227227
/* Parse certificate. */
228228
if (ParseCertRelative(der, CERT_TYPE, NO_VERIFY, NULL, NULL) != 0) {
229-
WC_FREE_VAR_EX(der, heap, DYNAMIC_TYPE_DCERT);
230229
ret = 0;
231230
}
232231
}

0 commit comments

Comments
 (0)