aboutsummaryrefslogtreecommitdiff
path: root/include/crypto/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/random.h')
-rw-r--r--include/crypto/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/random.h b/include/crypto/random.h
index 8764ca0562..fde592904e 100644
--- a/include/crypto/random.h
+++ b/include/crypto/random.h
@@ -34,7 +34,7 @@
*
* Returns 0 on success, -1 on error
*/
-int qcrypto_random_bytes(uint8_t *buf,
+int qcrypto_random_bytes(void *buf,
size_t buflen,
Error **errp);