summaryrefslogtreecommitdiff
path: root/match.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-06-07 19:55:44 +1000
committerDamien Miller <djm@mindrot.org>2000-06-07 19:55:44 +1000
commitd3a185709dfb8588ae7cacc079312d1fcc450e9c (patch)
tree8e9798d35f76171481f034720767e507e6bbd6f9 /match.h
parente37bfc19f7263b838896ae403e55aa703a06b69a (diff)
- (djm) Fix rsh path in RPMs. Report from Jason L Tibbitts III
<tibbs@math.uh.edu> - (djm) OpenBSD CVS updates: - todd@cvs.openbsd.org [sshconnect2.c] teach protocol v2 to count login failures properly and also enable an explanation of why the password prompt comes up again like v1; this is NOT crypto - markus@cvs.openbsd.org [readconf.c readconf.h servconf.c servconf.h session.c ssh.1 ssh.c sshd.8] xauth_location support; pr 1234 [readconf.c sshconnect2.c] typo, unused [session.c] allow use_login only for login sessions, otherwise remote commands are execed with uid==0 [sshd.8] document UseLogin better [version.h] OpenSSH 2.1.1 [auth-rsa.c] fix match_hostname() logic for auth-rsa: deny access if we have a negative match or no match at all [channels.c hostfile.c match.c] don't panic if mkdtemp fails for authfwd; jkb@yahoo-inc.com via kris@FreeBSD.org
Diffstat (limited to 'match.h')
-rw-r--r--match.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/match.h b/match.h
index 4625d9769..8eac0a502 100644
--- a/match.h
+++ b/match.h
@@ -10,8 +10,8 @@ int match_pattern(const char *s, const char *pattern);
10/* 10/*
11 * Tries to match the host name (which must be in all lowercase) against the 11 * Tries to match the host name (which must be in all lowercase) against the
12 * comma-separated sequence of subpatterns (each possibly preceded by ! to 12 * comma-separated sequence of subpatterns (each possibly preceded by ! to
13 * indicate negation). Returns true if there is a positive match; zero 13 * indicate negation). Returns -1 if negation matches, 1 if there is
14 * otherwise. 14 * a positive match, 0 if there is no match at all.
15 */ 15 */
16int match_hostname(const char *host, const char *pattern, unsigned int len); 16int match_hostname(const char *host, const char *pattern, unsigned int len);
17 17