mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Fix broken disablekey()
--HG-- branch : ecc
This commit is contained in:
parent
04518e9e80
commit
0475594cb2
@ -366,9 +366,10 @@ static void addportandaddress(char* spec) {
|
||||
|
||||
static void disablekey(int type) {
|
||||
int i;
|
||||
TRACE(("Disabling key type %d", type))
|
||||
for (i = 0; sshhostkey[i].name != NULL; i++) {
|
||||
if (sshhostkey[i].val == type) {
|
||||
sshhostkey[i].usable = 1;
|
||||
sshhostkey[i].usable = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user