summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/readconf.h
diff options
context:
space:
mode:
authorAlexander von Gernler <grunk@cvs.openbsd.org>2008-06-26 11:46:32 +0000
committerAlexander von Gernler <grunk@cvs.openbsd.org>2008-06-26 11:46:32 +0000
commit8fe473a53d6b9c0830712ec6bfff4f6aea72cb38 (patch)
tree7ceea5d16068f9f978042b4d7a1ff65c4d6e3b52 /usr.bin/ssh/readconf.h
parent642dd5f0606a6d70841c3fa112840f94b1d66a84 (diff)
Move SSH Fingerprint Visualization away from sharing the config option
CheckHostIP to an own config option named VisualHostKey. While there, fix the behaviour that ssh would draw a random art picture on every newly seen host even when the option was not enabled. prodded by deraadt@, discussions, help and ok markus@ djm@ dtucker@
Diffstat (limited to 'usr.bin/ssh/readconf.h')
-rw-r--r--usr.bin/ssh/readconf.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/ssh/readconf.h b/usr.bin/ssh/readconf.h
index 5c16a0ba6c8..47c7aef4e04 100644
--- a/usr.bin/ssh/readconf.h
+++ b/usr.bin/ssh/readconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.h,v 1.73 2008/06/11 21:01:35 grunk Exp $ */
+/* $OpenBSD: readconf.h,v 1.74 2008/06/26 11:46:31 grunk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -120,13 +120,10 @@ typedef struct {
char *local_command;
int permit_local_command;
+ int visual_host_key;
} Options;
-#define SSHCTL_CHECKHOSTIP_NO 0
-#define SSHCTL_CHECKHOSTIP_YES 1
-#define SSHCTL_CHECKHOSTIP_FPR 2
-
#define SSHCTL_MASTER_NO 0
#define SSHCTL_MASTER_YES 1
#define SSHCTL_MASTER_AUTO 2