mirror of
https://git.wownero.com/wowlet/wownero-seed.git
synced 2024-12-21 23:38:52 +00:00
Merge fix-macos into master
Reviewed-on: https://git.wownero.com/feather/monero-seed/pulls/1
This commit is contained in:
commit
16b13aabcf
@ -66,9 +66,11 @@ void secure_random::gen_bytes(void* output, size_t size) {
|
||||
while (size) {
|
||||
ssize_t len = read(fd, outptr, size);
|
||||
if (len < 0) {
|
||||
#ifndef __APPLE__
|
||||
if (errno != EINTR && errno != EAGAIN) {
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
outptr += len;
|
||||
|
Loading…
Reference in New Issue
Block a user