Skip to content
Snippets Groups Projects
Commit 4936c9a3 authored by Matt Johnston's avatar Matt Johnston
Browse files

Remove unused printbuf which prevented large DSS keys from being generated.

--HG--
extra : convert_revision : 6971cb6630c289a03a9f28c36c6797c7744ff9a1
parent 0bbe2fa8
No related merge requests found
......@@ -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);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment