summaryrefslogtreecommitdiffstats
path: root/misc.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-03-04 03:16:11 +0100
committerDamien Miller <djm@mindrot.org>2024-03-04 04:46:46 +0100
commit65a44a8a4f7d902a64d4e60eda84384b2e2a24a2 (patch)
tree76eab9c84fef54d5eb21825ff2b60ad678d7fcf8 /misc.h
parentAdd nbsd10 test target. (diff)
downloadopenssh-65a44a8a4f7d902a64d4e60eda84384b2e2a24a2.tar.xz
openssh-65a44a8a4f7d902a64d4e60eda84384b2e2a24a2.zip
upstream: Separate parsing of string array options from applying them
to the active configuration. This fixes the config parser from erroneously rejecting cases like: AuthenticationMethods password Match User ivy AuthenticationMethods any bz3657 ok markus@ OpenBSD-Commit-ID: 7f196cba634c2a3dba115f3fac3c4635a2199491
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 74c6f832c..9bacce520 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.h,v 1.106 2023/10/11 22:42:26 djm Exp $ */
+/* $OpenBSD: misc.h,v 1.107 2024/03/04 02:16:11 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -210,6 +210,7 @@ void opt_array_append(const char *file, const int line,
void opt_array_append2(const char *file, const int line,
const char *directive, char ***array, int **iarray, u_int *lp,
const char *s, int i);
+void opt_array_free2(char **array, int **iarray, u_int l);
struct timespec;
void ptimeout_init(struct timespec *pt);