Commit 17dd31f3139bc44aac8f8289684d87130c95ec5f
Committed by
Georg Hopp
1 parent
3b95766a
fixed some stuff related to previuos cleanup
Showing
3 changed files
with
4 additions
and
2 deletions
| @@ -24,12 +24,13 @@ | @@ -24,12 +24,13 @@ | ||
| 24 | #include <errno.h> | 24 | #include <errno.h> |
| 25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 26 | #include <string.h> | 26 | #include <string.h> |
| 27 | +#include <stdio.h> | ||
| 27 | #include <linux/random.h> | 28 | #include <linux/random.h> |
| 28 | #include <sys/ioctl.h> | 29 | #include <sys/ioctl.h> |
| 29 | #include <sys/types.h> | 30 | #include <sys/types.h> |
| 30 | #include <sys/stat.h> | 31 | #include <sys/stat.h> |
| 31 | 32 | ||
| 32 | -int get_entropy_bits(unsigned char *, size_t); | 33 | +int get_entropy_bits(const unsigned char *, size_t); |
| 33 | 34 | ||
| 34 | /** | 35 | /** |
| 35 | * fill /dev/random with sha1 from current request | 36 | * fill /dev/random with sha1 from current request |
Please
register
or
login
to post a comment