Stupid DSS hostkey bug fixed.

--HG--
extra : convert_revision : f8c94ac62bf0766d4b468c3ef88db8a11c5f75f4
This commit is contained in:
Matt Johnston 2004-08-18 09:14:30 +00:00
parent f3c8bb2bce
commit cc1860bc86

View File

@ -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);