diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-10-24 14:38:58 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-10-24 14:38:58 +0300 |
commit | fafd3319169e8ce2416d74e0efd6682bf1894227 (patch) | |
tree | 222d733150714ed76a74cb7180dd2a25a7efc244 /src/cli.c | |
parent | 6cf29d4aff604932a45e642ff58ef3f386e33107 (diff) | |
download | gnutls-fafd3319169e8ce2416d74e0efd6682bf1894227.tar.gz |
/dev/urandom is used now by default for key generation. The option --disable-quick-random was introduced.
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -518,6 +518,8 @@ main (int argc, char **argv) int user_term = 0; socket_st hd; + gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); + if ((ret = gnutls_global_init ()) < 0) { fprintf (stderr, "global_init: %s\n", gnutls_strerror (ret)); |