diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-11-16 15:05:07 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-11-16 15:05:07 +0900 |
commit | f3e1504e2e01ddf11759362a29f5f0609f87a815 (patch) | |
tree | 467295efc0cb7111e560cb3b44573ce0aa8606d6 | |
parent | ec298c82a74029751927d0eba5f7d524dd339697 (diff) | |
download | libgcrypt-f3e1504e2e01ddf11759362a29f5f0609f87a815.tar.gz |
Fix jent_read_entropy for JENT_CPU_JITTERENTROPY_SECURE_MEMORY.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r-- | random/jitterentropy-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/random/jitterentropy-base.c b/random/jitterentropy-base.c index 30109dc1..c9cdb026 100644 --- a/random/jitterentropy-base.c +++ b/random/jitterentropy-base.c @@ -221,7 +221,7 @@ ssize_t jent_read_entropy(struct rand_data *ec, char *data, size_t len) * memory protects the entropy pool. Moreover, note that using this * call reduces the speed of the RNG by up to half */ -#ifndef CONFIG_CRYPTO_CPU_JITTERENTROPY_SECURE_MEMORY +#ifndef JENT_CPU_JITTERENTROPY_SECURE_MEMORY jent_random_data(ec); #endif |