summaryrefslogtreecommitdiffhomepage
path: root/signkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-20 23:16:38 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-20 23:16:38 +0800
commit364a53577eb33f20bed877fc5d4a54de829707d8 (patch)
tree3006ce1d1a77e50fbb679cd4a8a454423f66d350 /signkey.c
parent1b1997bf2da9322c526ec1da4358aae94f7de06e (diff)
Move generic network routines to netio.c
--HG-- branch : fastopen
Diffstat (limited to 'signkey.c')
-rw-r--r--signkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signkey.c b/signkey.c
index ea7c67d..f033e86 100644
--- a/signkey.c
+++ b/signkey.c
@@ -140,7 +140,7 @@ int buf_get_pub_key(buffer *buf, sign_key *key, enum signkey_type *type) {
unsigned char* ident;
unsigned int len;
- int keytype;
+ enum signkey_type keytype;
int ret = DROPBEAR_FAILURE;
TRACE2(("enter buf_get_pub_key"))
@@ -210,7 +210,7 @@ int buf_get_priv_key(buffer *buf, sign_key *key, enum signkey_type *type) {
unsigned char* ident;
unsigned int len;
- int keytype;
+ enum signkey_type keytype;
int ret = DROPBEAR_FAILURE;
TRACE2(("enter buf_get_priv_key"))