Mercurial > dropbear
comparison svr-runopts.c @ 91:dc68f7624f17
Stupid DSS hostkey bug fixed.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 18 Aug 2004 09:14:30 +0000 |
parents | ac96bc733e71 |
children | c85c88500ea6 |
comparison
equal
deleted
inserted
replaced
90:c2ac796b130e | 91:dc68f7624f17 |
---|---|
300 if (ret == DROPBEAR_FAILURE) { | 300 if (ret == DROPBEAR_FAILURE) { |
301 disablekey(DROPBEAR_SIGNKEY_RSA, rsakeyfile); | 301 disablekey(DROPBEAR_SIGNKEY_RSA, rsakeyfile); |
302 } | 302 } |
303 #endif | 303 #endif |
304 #ifdef DROPBEAR_DSS | 304 #ifdef DROPBEAR_DSS |
305 type = DROPBEAR_SIGNKEY_RSA; | 305 type = DROPBEAR_SIGNKEY_DSS; |
306 ret = readhostkey(dsskeyfile, hostkey, &type); | 306 ret = readhostkey(dsskeyfile, hostkey, &type); |
307 if (ret == DROPBEAR_FAILURE) { | 307 if (ret == DROPBEAR_FAILURE) { |
308 disablekey(DROPBEAR_SIGNKEY_DSS, dsskeyfile); | 308 disablekey(DROPBEAR_SIGNKEY_DSS, dsskeyfile); |
309 } | 309 } |
310 #endif | 310 #endif |