mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Remove unused printbuf which prevented large DSS keys from being generated.
--HG-- extra : convert_revision : 6971cb6630c289a03a9f28c36c6797c7744ff9a1
This commit is contained in:
parent
0bbe2fa862
commit
4936c9a3f3
3
gendss.c
3
gendss.c
@ -148,7 +148,6 @@ static void getp(dss_key *key, unsigned int size) {
|
|||||||
|
|
||||||
static void getg(dss_key * key) {
|
static void getg(dss_key * key) {
|
||||||
|
|
||||||
char printbuf[1000];
|
|
||||||
mp_int div, h, val;
|
mp_int div, h, val;
|
||||||
|
|
||||||
m_mp_init_multi(&div, &h, &val, NULL);
|
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);
|
} while (mp_cmp_d(key->g, 1) != MP_GT);
|
||||||
|
|
||||||
mp_toradix(key->g, printbuf, 10);
|
|
||||||
|
|
||||||
mp_clear_multi(&div, &h, &val, NULL);
|
mp_clear_multi(&div, &h, &val, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user