rand: replace time() with time_stamp() as entropy source

time_stamp() has bigger precision.
This commit is contained in:
Dmitry Podgorny
2016-09-02 17:38:42 +03:00
parent c0a224cf84
commit b6fcb7035d
2 changed files with 7 additions and 6 deletions

View File

@@ -28,6 +28,9 @@ void xmpp_free(const xmpp_ctx_t * const ctx, void *p) { }
int xmpp_snprintf (char *str, size_t count, const char *fmt, ...) {
return 0;
}
uint64_t time_stamp(void) {
return 0;
}
static struct {
const char *entropy_input;