diff options
Diffstat (limited to 'lib/nettle/rnd.c')
-rw-r--r-- | lib/nettle/rnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nettle/rnd.c b/lib/nettle/rnd.c index 9d8b250012..3f816d43ae 100644 --- a/lib/nettle/rnd.c +++ b/lib/nettle/rnd.c @@ -106,7 +106,7 @@ static int single_prng_init(struct prng_ctx_st *ctx, ctx->forkid = _gnutls_get_forkid(); - gettime(&now); + gnutls_gettime(&now); memcpy(nonce, &now, MIN(sizeof(nonce), sizeof(now))); ctx->last_reseed = now.tv_sec; } |