aboutsummaryrefslogtreecommitdiff
path: root/src/common/aes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-16 09:50:52 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-16 09:50:52 -0400
commitd1ab295d7b2c4c8bd3da5e1774bc352f8cfe72ab (patch)
tree921913749ae3025817b8f70b1819004231cbffa1 /src/common/aes.c
parentf986e268505118265fa8fba14a7a5dc1331110c3 (diff)
downloadtor-d1ab295d7b2c4c8bd3da5e1774bc352f8cfe72ab.tar.gz
tor-d1ab295d7b2c4c8bd3da5e1774bc352f8cfe72ab.zip
add LCOV_EXCL for unreachable exit() blocks in src/common
Diffstat (limited to 'src/common/aes.c')
-rw-r--r--src/common/aes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index db250c878e..2b8a68c4a2 100644
--- a/src/common/aes.c
+++ b/src/common/aes.c
@@ -238,9 +238,11 @@ evaluate_ctr_for_aes(void)
if (fast_memneq(output, encrypt_zero, 16)) {
/* Counter mode is buggy */
+ /* LCOV_EXCL_START */
log_err(LD_CRYPTO, "This OpenSSL has a buggy version of counter mode; "
"quitting tor.");
exit(1);
+ /* LCOV_EXCL_STOP */
}
return 0;
}