summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-04-19 13:31:04 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-04-19 13:31:04 +0000
commitcc5e74a4cde7b5b5a06ebbccb7c7d518b647338e (patch)
treea0159840a005ce12c2bcea70cb246aa7f9dffbc4 /lib
parent5124d38b220f0505748a52b2be4002d2dd50e9d0 (diff)
downloadgnutls-cc5e74a4cde7b5b5a06ebbccb7c7d518b647338e.tar.gz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_global.c2
-rw-r--r--lib/gnutls_random.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index 5d95561b32..dd686f4eb1 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -225,7 +225,7 @@ int gnutls_global_init( void)
/* initialize the random functions.
*/
_gnutls_get_random( &c, 1, GNUTLS_WEAK_RANDOM);
- _gnutls_get_random( &c, 1, GNUTLS_VERY_STRONG_RANDOM);
+ _gnutls_get_random( &c, 1, GNUTLS_STRONG_RANDOM);
out:
return result;
diff --git a/lib/gnutls_random.h b/lib/gnutls_random.h
index d7432d468b..790ed7d2c9 100644
--- a/lib/gnutls_random.h
+++ b/lib/gnutls_random.h
@@ -2,5 +2,6 @@
#define GNUTLS_WEAK_RANDOM GCRY_WEAK_RANDOM
#define GNUTLS_STRONG_RANDOM GCRY_STRONG_RANDOM
+#define GNUTLS_VERY_STRONG_RANDOM GCRY_VERY_STRONG_RANDOM
int _gnutls_get_random(opaque* res, int bytes, int);