[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix a pair of dead assignments



commit f3ed5ec0cac4719e249e629760756314d7cfecba
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;
     }
   }

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits