mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -07:00
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);
|
||||
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);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user