diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-12-11 09:35:43 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-11 09:35:43 -0500 |
commit | f3ed5ec0cac4719e249e629760756314d7cfecba (patch) | |
tree | 82f12d84f95215b89b4f6ed04bbfabf81a5f7bb1 /src/common | |
parent | a807bb781b2be26881d80350d04aadab9ceaa482 (diff) | |
download | tor-f3ed5ec0cac4719e249e629760756314d7cfecba.tar.gz tor-f3ed5ec0cac4719e249e629760756314d7cfecba.zip |
Fix a pair of dead assignments
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 6cef249bb8..c93ecaa6f3 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -2551,8 +2551,6 @@ crypto_strongest_rand(uint8_t *out, size_t out_len) } else { SHA512(inp, sizeof(inp), tmp); memcpy(out, tmp, out_len); - out += DLEN; - out_len -= DLEN; break; } } |