diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-23 19:22:22 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-23 19:22:22 +0000 |
commit | 74c6900c916b368b2f88d9f28cfdb5170cee5f6c (patch) | |
tree | e98f3b4267fb42969012baa4dd74f49d771f3779 /compat | |
parent | 21b4a5163ce61f351f95e10eda89a312190476ce (diff) |
fix previous; check for getentropy only when arc4random is missing
on macos we have the situation where we have arc4random available
but no getentropy().
Diffstat (limited to 'compat')
-rw-r--r-- | compat/getentropy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compat/getentropy.c b/compat/getentropy.c index 6a46b28..dc33884 100644 --- a/compat/getentropy.c +++ b/compat/getentropy.c @@ -41,13 +41,11 @@ 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) |