[svn] gcry - r1200 - branches/LIBGCRYPT-1-2-BRANCH/tests

svn author wk cvs at cvs.gnupg.org
Thu Feb 1 16:51:03 CET 2007


Author: wk
Date: 2007-02-01 16:51:02 +0100 (Thu, 01 Feb 2007)
New Revision: 1200

Modified:
   branches/LIBGCRYPT-1-2-BRANCH/tests/ChangeLog
   branches/LIBGCRYPT-1-2-BRANCH/tests/basic.c
   branches/LIBGCRYPT-1-2-BRANCH/tests/pubkey.c
Log:
Use quick random mode for tests.


Modified: branches/LIBGCRYPT-1-2-BRANCH/tests/ChangeLog
===================================================================
--- branches/LIBGCRYPT-1-2-BRANCH/tests/ChangeLog	2007-02-01 15:14:31 UTC (rev 1199)
+++ branches/LIBGCRYPT-1-2-BRANCH/tests/ChangeLog	2007-02-01 15:51:02 UTC (rev 1200)
@@ -1,3 +1,7 @@
+2007-02-01  Werner Koch  <wk at g10code.com>
+
+	* pubkey.c, basic.c (main): Enable quick random mode.
+
 2006-11-30  Werner Koch  <wk at g10code.com>
 
 	* ac.c (main): Set quick random flag.

Modified: branches/LIBGCRYPT-1-2-BRANCH/tests/basic.c
===================================================================
--- branches/LIBGCRYPT-1-2-BRANCH/tests/basic.c	2007-02-01 15:14:31 UTC (rev 1199)
+++ branches/LIBGCRYPT-1-2-BRANCH/tests/basic.c	2007-02-01 15:51:02 UTC (rev 1200)
@@ -1081,6 +1081,8 @@
   gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
   if (debug)
     gcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u, 0);
+  gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
+
   check_ciphers ();
   check_aes128_cbc_cts_cipher ();
   check_cbc_mac_cipher ();

Modified: branches/LIBGCRYPT-1-2-BRANCH/tests/pubkey.c
===================================================================
--- branches/LIBGCRYPT-1-2-BRANCH/tests/pubkey.c	2007-02-01 15:14:31 UTC (rev 1199)
+++ branches/LIBGCRYPT-1-2-BRANCH/tests/pubkey.c	2007-02-01 15:51:02 UTC (rev 1200)
@@ -244,6 +244,7 @@
   gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
   if (debug)
     gcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u , 0);
+  gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
 
   for (; i > 0; i--)
     check_run ();




More information about the Gnupg-commits mailing list