diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-23 19:13:46 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-23 19:13:46 +0000 |
commit | 21b4a5163ce61f351f95e10eda89a312190476ce (patch) | |
tree | 68190e0758a2ab54806df3b97b28199acd40cef8 /compat/getentropy.c | |
parent | 258131b1b60f657acfcc75d5416e859806de1415 (diff) |
comment out seed_from_prngd
it's not used (we define OPENSSL_PRNG_ONLY) and fails the build
with -Werror. Keep the function commented instead of deleting it
just in case we need to undefine OPENSSL_PRNG_ONLY in the future.
Diffstat (limited to 'compat/getentropy.c')
-rw-r--r-- | compat/getentropy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/getentropy.c b/compat/getentropy.c index dc33884..6a46b28 100644 --- a/compat/getentropy.c +++ b/compat/getentropy.c @@ -41,11 +41,13 @@ int _ssh_compat_getentropy(void *, size_t); +#if 0 static int seed_from_prngd(unsigned char *buf, size_t bytes) { return -1; } +#endif int _ssh_compat_getentropy(void *s, size_t len) |