summaryrefslogtreecommitdiffhomepage
path: root/rsa.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-17 10:20:20 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-17 10:20:20 +0000
commit4a52217ed410dfbfdceee4688688d756fa0d097e (patch)
treeaa75223fe057999adadd9aa8891ee9e926d11354 /rsa.c
parent954a8dce0fdd5f4d16eeb5436e4a8659e91e1cbd (diff)
default initialisers for mp_ints
--HG-- extra : convert_revision : af69bacb50a31523e383e8f73844d04681f9e394
Diffstat (limited to 'rsa.c')
-rw-r--r--rsa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rsa.c b/rsa.c
index 1130e93..7e891e0 100644
--- a/rsa.c
+++ b/rsa.c
@@ -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"));