diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-05-25 00:54:19 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-05-25 00:54:19 +0800 |
commit | aafeebd0c841494e4f7315890bc97ed0daf99cbd (patch) | |
tree | 25eca11af5943d69bc9ce4e27a62b3937bb64824 /rsa.c | |
parent | 6b0d47b3645c987b457a6f2562db093827421382 (diff) |
have separate ecdsa keys for each size
fix crash from the mp_alloc_init_multi change in RSA
--HG--
branch : ecc
Diffstat (limited to 'rsa.c')
-rw-r--r-- | rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ int buf_get_rsa_priv_key(buffer* buf, dropbear_rsa_key *key) { key->p = NULL; key->q = NULL; - m_mp_alloc_init_multi(&key->d); + m_mp_alloc_init_multi(&key->d, NULL); if (buf_getmpint(buf, key->d) == DROPBEAR_FAILURE) { TRACE(("leave buf_get_rsa_priv_key: d: ret == DROPBEAR_FAILURE")) goto out; |