Skip to content

Commit

Permalink
Merge pull request #181 from movepointsolutions/dflybsd
Browse files Browse the repository at this point in the history
random support for dflybsd
  • Loading branch information
hannesm authored Jul 31, 2023
2 parents 1bf9a78 + 7c2b281 commit 1b16de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rng/unix/mc_getrandom_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void raw_getrandom (uint8_t *data, uint32_t len) {
off += (size_t)r;
}
}
#elif (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__APPLE__))
#elif (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__APPLE__))
// on BSD and macOS, loop (in pieces of 256) getentropy
#if defined(__APPLE__)
// on macOS, getentropy is defined in sys/random.h (on BSD in unistd.h)
Expand Down

0 comments on commit 1b16de5

Please sign in to comment.