summaryrefslogtreecommitdiff
path: root/svr-runopts.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-runopts.c')
-rw-r--r--svr-runopts.c3
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;
}
}