summaryrefslogtreecommitdiffhomepage
path: root/common-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-01 00:13:09 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-01 00:13:09 +0800
commit082a2dde354eb624b6fee33767e68e5b05dcde25 (patch)
treedc6814959f974bfb516c392013d67f417f0b385a /common-runopts.c
parent814ab77538b8023f3ede270fcd14da7368913554 (diff)
Fix specifying a keysize for key generation, fix key name arguments
--HG-- branch : ecc
Diffstat (limited to 'common-runopts.c')
-rw-r--r--common-runopts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common-runopts.c b/common-runopts.c
index 9c2d5d5..fe1089f 100644
--- a/common-runopts.c
+++ b/common-runopts.c
@@ -35,7 +35,8 @@ runopts opts; /* GLOBAL */
/* returns success or failure, and the keytype in *type. If we want
* to restrict the type, type can contain a type to return */
-int readhostkey(const char * filename, sign_key * hostkey, int *type) {
+int readhostkey(const char * filename, sign_key * hostkey,
+ enum signkey_type *type) {
int ret = DROPBEAR_FAILURE;
buffer *buf;