]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a pair of dead assignments
authorNick Mathewson <nickm@torproject.org>
Fri, 11 Dec 2015 14:35:43 +0000 (09:35 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 11 Dec 2015 14:35:43 +0000 (09:35 -0500)
src/common/crypto.c

index 6cef249bb862896c5df83769bd908a416338ef80..c93ecaa6f3f10ed1f77472700a1597d53e5b0ec3 100644 (file)
@@ -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;
     }
   }