summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-05-29 13:13:31 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-03 19:54:59 +0200
commit5a1c51ac3b3fc5517f1b0160b5da78d7502c1c83 (patch)
tree61ca1a1c0f2b9f2632136d4f59e8503e5c2f1f71 /tests
parent0c6905d7aa6a44757578b71124d0c40a9e36050e (diff)
downloadgnutls-5a1c51ac3b3fc5517f1b0160b5da78d7502c1c83.tar.gz
avoid calling gcrypt directly.
Diffstat (limited to 'tests')
-rw-r--r--tests/crq_key_id.c2
-rw-r--r--tests/cve-2009-1416.c1
-rw-r--r--tests/pkcs12_s2k_pem.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/tests/crq_key_id.c b/tests/crq_key_id.c
index dc6b57957c..dd2be8abc1 100644
--- a/tests/crq_key_id.c
+++ b/tests/crq_key_id.c
@@ -59,8 +59,6 @@ doit (void)
if (ret < 0)
fail ("gnutls_global_init: %d\n", ret);
- gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
-
gnutls_global_set_log_function (tls_log_func);
if (debug)
gnutls_global_set_log_level (4711);
diff --git a/tests/cve-2009-1416.c b/tests/cve-2009-1416.c
index a89db59d25..1e91116d53 100644
--- a/tests/cve-2009-1416.c
+++ b/tests/cve-2009-1416.c
@@ -53,7 +53,6 @@ main (void)
int ret;
gnutls_global_init ();
- gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
ret = gnutls_x509_privkey_init (&key);
if (ret < 0)
diff --git a/tests/pkcs12_s2k_pem.c b/tests/pkcs12_s2k_pem.c
index 07abe6cb49..165dbbd2fc 100644
--- a/tests/pkcs12_s2k_pem.c
+++ b/tests/pkcs12_s2k_pem.c
@@ -266,7 +266,6 @@ main (void)
int ret;
gnutls_global_init ();
- gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
for (i = 0; i < sizeof (keys) / sizeof (keys[0]); i++)
{