Skip to content
Snippets Groups Projects
Unverified Commit ebb23fe4 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #163 from jD91mZM2/master

Patch libsodium randbytes
parents 215b60d3 3df8f321
No related branches found
No related tags found
No related merge requests found
--- a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c 2018-06-03 07:26:17.413729023 +0200
+++ b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c 2018-06-03 07:41:40.119390067 +0200
@@ -162,10 +162,7 @@
/* LCOV_EXCL_START */
struct stat st;
static const char *devices[] = {
-# ifndef USE_BLOCKING_RANDOM
- "/dev/urandom",
-# endif
- "/dev/random", NULL
+ "rand:", NULL
};
const char **device = devices;
int fd;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment