diff options
author | Jirka Hladky <jhladky@redhat.com> | 2022-01-14 10:38:09 +0100 |
---|---|---|
committer | Jirka Hladky <jhladky@redhat.com> | 2022-01-14 10:38:09 +0100 |
commit | 82c58fd4c9d8c22cda644585384ba6ac823aa6d2 (patch) | |
tree | 85f1cd6ed133a43ab8fa449b51e593eb23e56c90 /src | |
parent | Updated Changelog (diff) | |
download | haveged-82c58fd4c9d8c22cda644585384ba6ac823aa6d2.tar.xz haveged-82c58fd4c9d8c22cda644585384ba6ac823aa6d2.zip |
Bumnped version to 1.9.18
Diffstat (limited to 'src')
-rw-r--r-- | src/havege.h | 2 | ||||
-rw-r--r-- | src/haveged.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/havege.h b/src/havege.h index 0d9828c..219368a 100644 --- a/src/havege.h +++ b/src/havege.h @@ -31,7 +31,7 @@ extern "C" { * header/package version as a numeric major, minor, patch triple. See havege_version() * below for usage. */ -#define HAVEGE_PREP_VERSION "1.9.17" +#define HAVEGE_PREP_VERSION "1.9.18" /** * Basic types */ diff --git a/src/haveged.c b/src/haveged.c index efa8be6..cb88d4a 100644 --- a/src/haveged.c +++ b/src/haveged.c @@ -647,8 +647,8 @@ static void run_daemon( /* RETURN: nothing */ error_exit("Stopping due to signal %d\n", params->exit_code - 128); t[1] = time(NULL); - if (t[1] - t[0] > 60) { - /* add entropy on daemon start and then every 60 seconds unconditionally */ + if (t[1] - t[0] > 600) { + /* add entropy on daemon start and then every 600 seconds unconditionally */ nbytes = poolSize / 2; r = (nbytes+sizeof(H_UINT)-1)/sizeof(H_UINT); fills = h->n_fills; |