We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stat
1 parent 3926d2b commit 65a7e83Copy full SHA for 65a7e83
1 file changed
src/pk/ecc/ecc_verify_hash.c
@@ -46,6 +46,8 @@ int ecc_verify_hash_v2(const unsigned char *sig,
46
int *stat,
47
const ecc_key *key)
48
{
49
+ LTC_ARGCHK(stat != NULL);
50
+ *stat = 0;
51
if (opts->type < 0 || opts->type >= LTC_ARRAY_SIZE(s_ecc_verify_hash))
52
return CRYPT_PK_INVALID_TYPE;
53
if (s_ecc_verify_hash[opts->type] == NULL)
0 commit comments