changeset 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 4b53a43f0082
children 5edf356295af
files gendss.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
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);
 }