mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
secretstream test: provide additional data to lift ambiguity on what is being tested
Spotted by @emilbayes - Thanks!
This commit is contained in:
parent
4098a12635
commit
46e2a46490
@ -113,7 +113,7 @@ main(void)
|
||||
|
||||
ret = crypto_secretstream_xchacha20poly1305_pull
|
||||
(state, m3, NULL, &tag,
|
||||
c3, m3_len + crypto_secretstream_xchacha20poly1305_ABYTES, NULL, 0);
|
||||
c3, m3_len + crypto_secretstream_xchacha20poly1305_ABYTES, ad, ad_len);
|
||||
assert(ret == -1);
|
||||
|
||||
/* previous without a tag */
|
||||
|
Loading…
Reference in New Issue
Block a user