From d2a48e9f60e77b5473cec1d10e82f631a3da655c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 26 Nov 2017 22:02:26 +0100 Subject: [PATCH] secretstream test: provide additional data to lift ambiguity on what is being tested Spotted by @emilbayes - Thanks! --- test/default/secretstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/default/secretstream.c b/test/default/secretstream.c index 6e842e98..4e420d9b 100644 --- a/test/default/secretstream.c +++ b/test/default/secretstream.c @@ -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 */