From 082a2dde354eb624b6fee33767e68e5b05dcde25 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 1 Nov 2013 00:13:09 +0800 Subject: Fix specifying a keysize for key generation, fix key name arguments --HG-- branch : ecc --- common-runopts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common-runopts.c') 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; -- cgit v1.2.3