From 4936c9a3f3c64734eba1ec00d69877ea96774800 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 6 Aug 2004 16:37:59 +0000 Subject: Remove unused printbuf which prevented large DSS keys from being generated. --HG-- extra : convert_revision : 6971cb6630c289a03a9f28c36c6797c7744ff9a1 --- gendss.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gendss.c b/gendss.c index 3e9db09..649f3c0 100644 --- a/gendss.c +++ b/gendss.c @@ -148,7 +148,6 @@ static void getp(dss_key *key, unsigned int size) { 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 @@ static void getg(dss_key * key) { } while (mp_cmp_d(key->g, 1) != MP_GT); - mp_toradix(key->g, printbuf, 10); - mp_clear_multi(&div, &h, &val, NULL); } -- cgit v1.2.3 From 5a053fb6fc209bc3f01b8dcc5d4a040ffb50e3b2 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 9 Aug 2004 08:08:42 +0000 Subject: Just a test for merging heads --HG-- extra : convert_revision : ede585c846c166007394decf3d57c24c42682160 --- gendss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gendss.c b/gendss.c index 649f3c0..6988552 100644 --- a/gendss.c +++ b/gendss.c @@ -34,6 +34,8 @@ #define PSIZE 128 /* 1024 bit*/ #define QSIZE 20 /* 160 bit */ +/* This is just a test */ + #ifdef DROPBEAR_DSS static void getq(dss_key *key); -- cgit v1.2.3