mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 10:37:24 -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
c768f8fc43
commit
d2a48e9f60
@ -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