diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-03 11:07:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-16 08:25:53 -0400 |
commit | 820b1984ad61e28fbbdc7194f862c6e2d8edbf8d (patch) | |
tree | dce5c3d4c771a3b1c2696fa99173cf4cb6d9a9fe /src/common/crypto_s2k.c | |
parent | df3a5e0cadf60a309648fafb13d1ce5a41888867 (diff) | |
download | tor-820b1984ad61e28fbbdc7194f862c6e2d8edbf8d.tar.gz tor-820b1984ad61e28fbbdc7194f862c6e2d8edbf8d.zip |
Mark three lines unreachable, with extensive docs and use of BUG macros
Diffstat (limited to 'src/common/crypto_s2k.c')
-rw-r--r-- | src/common/crypto_s2k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto_s2k.c b/src/common/crypto_s2k.c index 149c39344c..850a9632ca 100644 --- a/src/common/crypto_s2k.c +++ b/src/common/crypto_s2k.c @@ -170,7 +170,7 @@ make_specifier(uint8_t *spec_out, uint8_t type, unsigned flags) spec_out[SCRYPT_SPEC_LEN-1] = (3u << 4) | (1u << 0); break; default: - tor_fragile_assert(); + tor_fragile_assert(); // LCOV_EXCL_LINE - we should have returned above. return S2K_BAD_ALGORITHM; } |