diff options
author | djm@openbsd.org <djm@openbsd.org> | 2024-09-25 03:24:04 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-09-25 03:27:24 +0200 |
commit | 3f02368e8e9121847727c46b280efc280e5eb615 (patch) | |
tree | 7f8661317ba20a4141982af3c1cfefd3c8bee938 /misc.h | |
parent | upstream: some extra paranoia, reminded by jsg@ (diff) | |
download | openssh-3f02368e8e9121847727c46b280efc280e5eb615.tar.xz openssh-3f02368e8e9121847727c46b280efc280e5eb615.zip |
upstream: fix regression introduced when I switched the "Match"
criteria tokeniser to a more shell-like one. Apparently the old tokeniser
(accidentally?) allowed "Match criteria=argument" as well as the "Match
criteria argument" syntax that we tested for.
People were using this syntax so this adds back support for
"Match criteria=argument"
bz3739 ok dtucker
OpenBSD-Commit-ID: d1eebedb8c902002b75b75debfe1eeea1801f58a
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.109 2024/06/06 17:15:25 djm Exp $ */ +/* $OpenBSD: misc.h,v 1.110 2024/09/25 01:24:04 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -56,6 +56,7 @@ struct ForwardOptions { char *chop(char *); void rtrim(char *); void skip_space(char **); +const char *strprefix(const char *, const char *, int); char *strdelim(char **); char *strdelimw(char **); int set_nonblock(int); |