diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-05-21 12:15:48 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-05-21 12:15:48 +0800 |
commit | 0475594cb24e14b77ffb048bf1c5e18aba6d9f57 (patch) | |
tree | b2530ede1459e9abe061bf049172c4d2b9681c4f /svr-runopts.c | |
parent | 04518e9e801ee57bd6d4caab470da8dc0ec98fd7 (diff) |
Fix broken disablekey()
--HG--
branch : ecc
Diffstat (limited to 'svr-runopts.c')
-rw-r--r-- | svr-runopts.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |