diff options
Diffstat (limited to 'libar2simplified_decode.c')
-rw-r--r-- | libar2simplified_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libar2simplified_decode.c b/libar2simplified_decode.c index ab4db5a..2c2f38e 100644 --- a/libar2simplified_decode.c +++ b/libar2simplified_decode.c @@ -57,7 +57,7 @@ random_salt(char *out, size_t n, int (*random_byte_generator)(char *out, size_t } #endif if (!srand_called) { - srand((unsigned int)time(NULL)); + srand((unsigned int)time(NULL) ^ (unsigned int)rand()); srand_called = 1; } for(; i < n; i++) { |