Browse Source

Fix a pair of dead assignments

Nick Mathewson 5 years ago
parent
commit
f3ed5ec0ca
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/common/crypto.c

+ 0 - 2
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;
     }
   }