
11 Dec
2015
11 Dec
'15
2:35 p.m.
commit f3ed5ec0cac4719e249e629760756314d7cfecba Author: Nick Mathewson <nickm@torproject.org> Date: Fri Dec 11 09:35:43 2015 -0500 Fix a pair of dead assignments --- src/common/crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/crypto.c b/src/common/crypto.c index 6cef249..c93ecaa 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; } }