summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2023-10-12 03:36:33 +0000
committerDamien Miller <djm@cvs.openbsd.org>2023-10-12 03:36:33 +0000
commit91261914e5f413c644b8ecbb7f21b965aded3772 (patch)
treedfa57f2841f07fd4ca7e403a940c9e710dfe8c3f /usr.bin
parentadcd3f4016e31289747ce6e07a6a755b275e5834 (diff)
64 %-expansion keys ought to be enough for anybody; ok dtucker
(we just hit the previous limit in some cases)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c
index 433c2341593..96688133349 100644
--- a/usr.bin/ssh/misc.c
+++ b/usr.bin/ssh/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.188 2023/10/11 22:42:26 djm Exp $ */
+/* $OpenBSD: misc.c,v 1.189 2023/10/12 03:36:32 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2005-2020 Damien Miller. All rights reserved.
@@ -1197,7 +1197,7 @@ static char *
vdollar_percent_expand(int *parseerror, int dollar, int percent,
const char *string, va_list ap)
{
-#define EXPAND_MAX_KEYS 16
+#define EXPAND_MAX_KEYS 64
u_int num_keys = 0, i;
struct {
const char *key;