summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--svr-runopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-runopts.c b/svr-runopts.c
index 93b1ae3..82b6a30 100644
--- a/svr-runopts.c
+++ b/svr-runopts.c
@@ -302,7 +302,7 @@ static sign_key * loadhostkeys(const char * dsskeyfile,
}
#endif
#ifdef DROPBEAR_DSS
- type = DROPBEAR_SIGNKEY_RSA;
+ type = DROPBEAR_SIGNKEY_DSS;
ret = readhostkey(dsskeyfile, hostkey, &type);
if (ret == DROPBEAR_FAILURE) {
disablekey(DROPBEAR_SIGNKEY_DSS, dsskeyfile);