[openssh-commits] [openssh] 01/01: upstream: fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu May 25 09:42:07 AEST 2023
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit fcd78e31cdd45a7e69ccfe6d8a3b1037dc1de290
Author: djm at openbsd.org <djm at openbsd.org>
Date: Wed May 24 23:01:06 2023 +0000
upstream: fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand
appears previously in configuration. Reported by John Meyers in bz3574 ok
dtucker@
OpenBSD-Commit-ID: 1c92e4517284386703936e1d3abaa36cfacf1951
---
servconf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/servconf.c b/servconf.c
index 9d5b73ec..0f4fd2f1 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: servconf.c,v 1.392 2023/03/05 05:34:09 dtucker Exp $ */
+/* $OpenBSD: servconf.c,v 1.393 2023/05/24 23:01:06 djm Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
* All rights reserved
@@ -2403,7 +2403,7 @@ process_server_config_line_depth(ServerOptions *options, char *line,
fatal("%.200s line %d: %s must be an absolute path",
filename, linenum, keyword);
}
- if (*activep && options->authorized_keys_command == NULL)
+ if (*activep && *charptr == NULL)
*charptr = xstrdup(str + len);
argv_consume(&ac);
break;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list