diff gendss.c @ 48:aecba0e16e9c

Remove unused printbuf which prevented large DSS keys from being generated.
author Matt Johnston <matt@ucc.asn.au>
date Fri, 06 Aug 2004 16:37:59 +0000
parents fe6bca95afa7
children 2ca590852f45
line wrap: on
line diff
--- a/gendss.c	Fri Aug 06 16:18:01 2004 +0000
+++ b/gendss.c	Fri Aug 06 16:37:59 2004 +0000
@@ -148,7 +148,6 @@
 
 static void getg(dss_key * key) {
 
-	char printbuf[1000];
 	mp_int div, h, val;
 
 	m_mp_init_multi(&div, &h, &val, NULL);
@@ -179,8 +178,6 @@
 	
 	} while (mp_cmp_d(key->g, 1) != MP_GT);
 
-	mp_toradix(key->g, printbuf, 10);
-
 	mp_clear_multi(&div, &h, &val, NULL);
 }