diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-17 10:20:20 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-17 10:20:20 +0000 |
commit | 4a52217ed410dfbfdceee4688688d756fa0d097e (patch) | |
tree | aa75223fe057999adadd9aa8891ee9e926d11354 /rsa.c | |
parent | 954a8dce0fdd5f4d16eeb5436e4a8659e91e1cbd (diff) |
default initialisers for mp_ints
--HG--
extra : convert_revision : af69bacb50a31523e383e8f73844d04681f9e394
Diffstat (limited to 'rsa.c')
-rw-r--r-- | rsa.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -201,7 +201,8 @@ int buf_rsa_verify(buffer * buf, rsa_key *key, const unsigned char* data, unsigned int len) { unsigned int slen; - mp_int rsa_s, rsa_mdash; + DEF_MP_INT(rsa_s); + DEF_MP_INT(rsa_mdash); mp_int *rsa_em = NULL; int ret = DROPBEAR_FAILURE; @@ -262,7 +263,7 @@ void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data, unsigned int nsize, ssize; unsigned int i; - mp_int rsa_s; + DEF_MP_INT(rsa_s); mp_int *rsa_em = NULL; TRACE(("enter buf_put_rsa_sign")); |