diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-12 16:41:58 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-12 16:41:58 +0000 |
commit | e3e03ba5123d76b27b28db134603dbd6a1111f06 (patch) | |
tree | 0b54a905a49358adc37ce32e3e80239dd6ebd736 /signkey.c | |
parent | a82d614485700729f2b650d45a73dbf55094707f (diff) | |
download | dropbear-e3e03ba5123d76b27b28db134603dbd6a1111f06.tar.gz |
Merging in the changes from 0.41-0.43 main Dropbear tree
Diffstat (limited to 'signkey.c')
-rw-r--r-- | signkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -194,7 +194,7 @@ void buf_put_pub_key(buffer* buf, sign_key *key, int type) { buffer *pubkeys; TRACE(("enter buf_put_pub_key")); - pubkeys = buf_new(1000); + pubkeys = buf_new(MAX_PUBKEY_SIZE); #ifdef DROPBEAR_DSS if (type == DROPBEAR_SIGNKEY_DSS) { @@ -356,7 +356,7 @@ void buf_put_sign(buffer* buf, sign_key *key, int type, buffer *sigblob; - sigblob = buf_new(1000); + sigblob = buf_new(MAX_PUBKEY_SIZE); #ifdef DROPBEAR_DSS if (type == DROPBEAR_SIGNKEY_DSS) { |