Test crypto_sign_open() with NULL as a pointer to the message size
This commit is contained in:
parent
956d4c4ada
commit
69d9553ec2
@ -1091,7 +1091,7 @@ int main(void)
|
|||||||
printf("signature failure: [%u]\n", i);
|
printf("signature failure: [%u]\n", i);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (crypto_sign_open(m, &mlen, sm, smlen, test_data[i].pk) != 0) {
|
if (crypto_sign_open(m, NULL, sm, smlen, test_data[i].pk) != 0) {
|
||||||
printf("crypto_sign_open() failure: [%u]\n", i);
|
printf("crypto_sign_open() failure: [%u]\n", i);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user