aboutsummaryrefslogtreecommitdiff
path: root/src/seedrng
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-20 20:49:47 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-20 20:49:47 -0500
commitb5f713124b043e287d2b0db252088c69533b9e63 (patch)
tree17e1aa7439c6ac49a88a6a67cce042da80e44aef /src/seedrng
parentc0f55867437fe14201a9de86678835d4be8e6563 (diff)
seedrng: initialize seed_dir
Diffstat (limited to 'src/seedrng')
-rw-r--r--src/seedrng/seedrng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seedrng/seedrng.c b/src/seedrng/seedrng.c
index 234b1aa0..daca8952 100644
--- a/src/seedrng/seedrng.c
+++ b/src/seedrng/seedrng.c
@@ -455,7 +455,7 @@ int main(int argc, char **argv)
static const char seedrng_prefix[] = "SeedRNG v1 Old+New Prefix";
static const char seedrng_failure[] = "SeedRNG v1 No New Seed Failure";
int opt, fd, dfd, program_ret = 0;
- char *seed_dir;
+ char *seed_dir = NULL;
uint8_t new_seed[MAX_SEED_LEN];
size_t new_seed_len;
bool new_seed_creditable;