[svn] gcry - r1230 - trunk/cipher

svn author marcus cvs at cvs.gnupg.org
Fri Apr 13 02:33:38 CEST 2007


Author: marcus
Date: 2007-04-13 02:33:37 +0200 (Fri, 13 Apr 2007)
New Revision: 1230

Modified:
   trunk/cipher/ChangeLog
   trunk/cipher/ecc.c
Log:
2007-04-13  Marcus Brinkmann  <marcus at g10code.de>

	* ecc.c (ecc_generate): Avoid compiler warning for unused argument
	DUMMY.
	(ecc_verify): Avoid compiler warning for unused arguments CMP and
	OPAQUEV.


Modified: trunk/cipher/ChangeLog
===================================================================
--- trunk/cipher/ChangeLog	2007-04-13 00:29:02 UTC (rev 1229)
+++ trunk/cipher/ChangeLog	2007-04-13 00:33:37 UTC (rev 1230)
@@ -1,3 +1,10 @@
+2007-04-13  Marcus Brinkmann  <marcus at g10code.de>
+
+	* ecc.c (ecc_generate): Avoid compiler warning for unused argument
+	DUMMY.
+	(ecc_verify): Avoid compiler warning for unused arguments CMP and
+	OPAQUEV.
+
 2007-03-28  Werner Koch  <wk at g10code.com>
 
 	* ecc.c: Entirely rewritten with only a few traces of the old

Modified: trunk/cipher/ecc.c
===================================================================
--- trunk/cipher/ecc.c	2007-04-13 00:29:02 UTC (rev 1229)
+++ trunk/cipher/ecc.c	2007-04-13 00:33:37 UTC (rev 1230)
@@ -791,6 +791,7 @@
   gcry_mpi_t g_x, g_y, q_x, q_y;
 
   (void)algo;
+  (void)dummy;
 
   /* Make an empty list of factors.  */
   *retfactors = gcry_calloc ( 1, sizeof **retfactors );
@@ -922,6 +923,8 @@
   ECC_public_key pk;
 
   (void)algo;
+  (void)cmp;
+  (void)opaquev;
 
   if (!data[0] || !data[1] || !hash || !pkey[0] || !pkey[1] || !pkey[2]
       || !pkey[3] || !pkey[4] || !pkey[5] )




More information about the Gnupg-commits mailing list