diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-15 17:25:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-15 17:28:26 -0400 |
commit | 7b54d7ebbd963a0a40b6ff5109ea0e3eedde534d (patch) | |
tree | d7a0cbfd83a86dc32722ec090e05aca3e477ccc9 /src/common/aes.c | |
parent | 327d4c11ddbed709b3cca5bb12265f201797d569 (diff) | |
download | tor-7b54d7ebbd963a0a40b6ff5109ea0e3eedde534d.tar.gz tor-7b54d7ebbd963a0a40b6ff5109ea0e3eedde534d.zip |
Mark src/common tor_assert(0)/tor_fragile_assert() unreached for coverage
I audited this to make sure I was only marking ones that really
should be unreachable.
Diffstat (limited to 'src/common/aes.c')
-rw-r--r-- | src/common/aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index e9f78f49f7..db250c878e 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -283,7 +283,7 @@ aes_set_key(aes_cnt_cipher_t *cipher, const char *key, int key_bits) case 128: c = EVP_aes_128_ecb(); break; case 192: c = EVP_aes_192_ecb(); break; case 256: c = EVP_aes_256_ecb(); break; - default: tor_assert(0); + default: tor_assert(0); // LCOV_EXCL_LINE } EVP_EncryptInit(&cipher->key.evp, c, (const unsigned char*)key, NULL); cipher->using_evp = 1; |