diff options
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 428c4cb2b2..84df6a62aa 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -8166,8 +8166,8 @@ init_srand(UINT32_T *x) // - reltime() or time() // - XOR with process ID #if defined(FEAT_SODIUM) - if (sodium_init() >= 0) - *x = randombytes_random(); + if (crypt_sodium_init() >= 0) + *x = crypt_sodium_randombytes_random(); else #endif { |