VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/libzip/zip_random_uwp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/libzip/zip_random_uwp.c')
-rw-r--r--src/Common/libzip/zip_random_uwp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Common/libzip/zip_random_uwp.c b/src/Common/libzip/zip_random_uwp.c
index 9f842b99..0883ce45 100644
--- a/src/Common/libzip/zip_random_uwp.c
+++ b/src/Common/libzip/zip_random_uwp.c
@@ -74,6 +74,7 @@ zip_random_uint32(void) {
if (!seeded) {
srand((unsigned int)time(NULL));
+ seeded = true;
}
return (zip_uint32_t)rand();