summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/readconf.c b/readconf.c
index 40fe8f694..d424c1697 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.181 2009/12/29 16:38:41 stevesk Exp $ */ 1/* $OpenBSD: readconf.c,v 1.182 2010/01/09 23:04:13 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -130,8 +130,8 @@ typedef enum {
130 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, 130 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly,
131 oSendEnv, oControlPath, oControlMaster, oHashKnownHosts, 131 oSendEnv, oControlPath, oControlMaster, oHashKnownHosts,
132 oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, 132 oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand,
133 oVisualHostKey, oUseRoaming, oRDomain, 133 oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication,
134 oZeroKnowledgePasswordAuthentication, oDeprecated, oUnsupported 134 oDeprecated, oUnsupported
135} OpCodes; 135} OpCodes;
136 136
137/* Textual representations of the tokens. */ 137/* Textual representations of the tokens. */
@@ -229,7 +229,6 @@ static struct {
229 { "permitlocalcommand", oPermitLocalCommand }, 229 { "permitlocalcommand", oPermitLocalCommand },
230 { "visualhostkey", oVisualHostKey }, 230 { "visualhostkey", oVisualHostKey },
231 { "useroaming", oUseRoaming }, 231 { "useroaming", oUseRoaming },
232 { "routingdomain", oRDomain },
233#ifdef JPAKE 232#ifdef JPAKE
234 { "zeroknowledgepasswordauthentication", 233 { "zeroknowledgepasswordauthentication",
235 oZeroKnowledgePasswordAuthentication }, 234 oZeroKnowledgePasswordAuthentication },
@@ -920,19 +919,6 @@ parse_int:
920 intptr = &options->use_roaming; 919 intptr = &options->use_roaming;
921 goto parse_flag; 920 goto parse_flag;
922 921
923 case oRDomain:
924 arg = strdelim(&s);
925 if (!arg || *arg == '\0')
926 fatal("%.200s line %d: Missing argument.",
927 filename, linenum);
928 value = a2rdomain(arg);
929 if (value == -1)
930 fatal("%.200s line %d: Bad rdomain.",
931 filename, linenum);
932 if (*activep)
933 options->rdomain = value;
934 break;
935
936 case oDeprecated: 922 case oDeprecated:
937 debug("%s line %d: Deprecated option \"%s\"", 923 debug("%s line %d: Deprecated option \"%s\"",
938 filename, linenum, keyword); 924 filename, linenum, keyword);
@@ -1083,7 +1069,6 @@ initialize_options(Options * options)
1083 options->local_command = NULL; 1069 options->local_command = NULL;
1084 options->permit_local_command = -1; 1070 options->permit_local_command = -1;
1085 options->use_roaming = -1; 1071 options->use_roaming = -1;
1086 options->rdomain = -1;
1087 options->visual_host_key = -1; 1072 options->visual_host_key = -1;
1088 options->zero_knowledge_password_authentication = -1; 1073 options->zero_knowledge_password_authentication = -1;
1089} 1074}
@@ -1232,7 +1217,6 @@ fill_default_options(Options * options)
1232 /* options->hostname will be set in the main program if appropriate */ 1217 /* options->hostname will be set in the main program if appropriate */
1233 /* options->host_key_alias should not be set by default */ 1218 /* options->host_key_alias should not be set by default */
1234 /* options->preferred_authentications will be set in ssh */ 1219 /* options->preferred_authentications will be set in ssh */
1235 /* options->rdomain should not be set by default */
1236} 1220}
1237 1221
1238/* 1222/*