diff options
Diffstat (limited to 'lib/gnutls_random.c')
-rw-r--r-- | lib/gnutls_random.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_random.c b/lib/gnutls_random.c index 01e61d4c54..d8360e8e66 100644 --- a/lib/gnutls_random.c +++ b/lib/gnutls_random.c @@ -33,11 +33,11 @@ int _gnutls_get_random(opaque * res, int bytes, int level) { if (level == GNUTLS_WEAK_RANDOM) { - gcry_create_nonce( res, bytes); - return 0; + gcry_create_nonce(res, bytes); + return 0; } - gcry_randomize( res, bytes, level); + gcry_randomize(res, bytes, level); return 0; } |