From a858a1971e21b00b5ce074c125d8f45d33f5c7cd Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 23 Sep 2014 12:39:15 -0700 Subject: [PATCH] lcov exclusion Testing for this case rather belongs to the sodium-validation project. --- src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c b/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c index 8cce2510..609296c8 100644 --- a/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c +++ b/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c @@ -191,7 +191,7 @@ chacha_encrypt_bytes(chacha_ctx *x, const u8 *m, u8 *c, unsigned long long bytes j12 = PLUSONE(j12); if (!j12) { - j13 = PLUSONE(j13); + j13 = PLUSONE(j13); /* LCOV_EXCL_LINE */ /* stopping at 2^70 bytes per nonce is user's responsibility */ }