diff --git a/svr-runopts.c b/svr-runopts.c index a775ea3..07da95c 100644 --- a/svr-runopts.c +++ b/svr-runopts.c @@ -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; } }