summaryrefslogtreecommitdiff
path: root/crypto/random-gcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/random-gcrypt.c')
-rw-r--r--crypto/random-gcrypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/random-gcrypt.c b/crypto/random-gcrypt.c
index 0de9a096df..9f1c9ee60e 100644
--- a/crypto/random-gcrypt.c
+++ b/crypto/random-gcrypt.c
@@ -31,3 +31,5 @@ int qcrypto_random_bytes(uint8_t *buf,
gcry_randomize(buf, buflen, GCRY_STRONG_RANDOM);
return 0;
}
+
+int qcrypto_random_init(Error **errp G_GNUC_UNUSED) { return 0; }