aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh/files/patch-ad
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-11-20 06:59:57 +0000
committerBrian Feldman <green@FreeBSD.org>1999-11-20 06:59:57 +0000
commit5ef3dcc5cbe4d23b771975bf8113ba33318b5bc5 (patch)
tree0b9d48288cc92cd644fbdf8738622bc004cadcf8 /security/openssh/files/patch-ad
parentdb8a62a578b122c1fcd376cf9f241a86c3e99c7f (diff)
Give OpenSSH TIS client-side authentication.
Submitted by: peter
Diffstat (limited to 'security/openssh/files/patch-ad')
-rw-r--r--security/openssh/files/patch-ad35
1 files changed, 35 insertions, 0 deletions
diff --git a/security/openssh/files/patch-ad b/security/openssh/files/patch-ad
new file mode 100644
index 000000000000..b99d16d2c0d1
--- /dev/null
+++ b/security/openssh/files/patch-ad
@@ -0,0 +1,35 @@
+--- readconf.c.dist Fri Nov 19 23:32:48 1999
++++ readconf.c Fri Nov 19 23:41:27 1999
+@@ -369,13 +369,8 @@
+ goto parse_int;
+
+ case oTISAuthentication:
+- cp = strtok(NULL, WHITESPACE);
+- if (cp != 0 && (strcmp(cp, "yes") == 0 || strcmp(cp, "true") == 0))
+- fprintf(stderr,
+- "%.99s line %d: Warning, TIS is not supported.\n",
+- filename,
+- linenum);
+- break;
++ intptr = &options->tis_authentication;
++ goto parse_flag;
+
+ case oCompressionLevel:
+ intptr = &options->compression_level;
+@@ -655,6 +650,7 @@
+ options->num_local_forwards = 0;
+ options->num_remote_forwards = 0;
+ options->log_level = (LogLevel)-1;
++ options->tis_authentication = -1;
+ }
+
+ /* Called after processing other sources of option data, this fills those
+@@ -727,6 +723,8 @@
+ options->user_hostfile = SSH_USER_HOSTFILE;
+ if (options->log_level == (LogLevel)-1)
+ options->log_level = SYSLOG_LEVEL_INFO;
++ if (options->tis_authentication == -1)
++ options->tis_authentication = 0;
+ /* options->proxy_command should not be set by default */
+ /* options->user will be set in the main program if appropriate */
+ /* options->hostname will be set in the main program if appropriate */