aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/crypto.c2
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;
}
}