mirror of https://github.com/wolfSSL/wolfssl
remove unnecessary check on pubKey
This commit is contained in:
parent
f8cf3bf853
commit
d6f5f57452
|
@ -3065,13 +3065,11 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
|
|||
} else
|
||||
ret = 1; /* match */
|
||||
|
||||
if (pubKey) {
|
||||
ecc_free(pubKey);
|
||||
#ifdef CYASSL_SMALL_STACK
|
||||
XFREE(pubKey, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_ECC */
|
||||
default:
|
||||
CYASSL_MSG("Verify Key type unknown");
|
||||
|
|
Loading…
Reference in New Issue