summaryrefslogtreecommitdiff
path: root/common-runopts.c
diff options
context:
space:
mode:
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;