mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Remove redundant NULL check
This commit is contained in:
@ -4174,10 +4174,7 @@ static int wolfSSL_CTX_use_certificate_ex(WOLFSSL_CTX* ctx,
|
||||
CERT_TYPE, NULL, NULL, 0, GET_VERIFY_SETTING_CTX(ctx));
|
||||
|
||||
exit:
|
||||
if (certData != NULL) {
|
||||
XFREE(certData, ctx->heap, DYNAMIC_TYPE_CERT);
|
||||
}
|
||||
|
||||
XFREE(certData, ctx->heap, DYNAMIC_TYPE_CERT);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user