git.droids-corp.org
/
protos
/
libecoli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32a01f4
)
XXX disable keyval randomization
author
Olivier Matz
<zer0@droids-corp.org>
Thu, 17 May 2018 17:44:13 +0000
(19:44 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Thu, 17 May 2018 17:44:13 +0000
(19:44 +0200)
lib/ecoli_keyval.c
patch
|
blob
|
history
diff --git
a/lib/ecoli_keyval.c
b/lib/ecoli_keyval.c
index
164c8b4
..
97c5da8
100644
(file)
--- a/
lib/ecoli_keyval.c
+++ b/
lib/ecoli_keyval.c
@@
-404,6
+404,8
@@
static int ec_keyval_init_func(void)
int fd;
ssize_t ret;
+ return 0;//XXX for test reproduceability
+
fd = open("/dev/urandom", 0);
if (fd == -1) {
fprintf(stderr, "failed to open /dev/urandom\n");