summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth2-pubkey.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-06-21 03:20:00 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-06-21 03:20:00 +0000
commit862bd00c4ad90941769f7c99dc514e5a30ec0f10 (patch)
tree297fa1365a8520bae6bb8be5785dad7a820dcb0b /usr.bin/ssh/auth2-pubkey.c
parent54bcedd72dc89405dcc77beb00e8ed003c4c8076 (diff)
print the correct AuthorizedPrincipalsCommand rather than an
uninitialised variable; spotted by dtucker@
Diffstat (limited to 'usr.bin/ssh/auth2-pubkey.c')
-rw-r--r--usr.bin/ssh/auth2-pubkey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth2-pubkey.c b/usr.bin/ssh/auth2-pubkey.c
index 46f39672df6..94d283cc4dc 100644
--- a/usr.bin/ssh/auth2-pubkey.c
+++ b/usr.bin/ssh/auth2-pubkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-pubkey.c,v 1.89 2019/06/14 03:39:59 djm Exp $ */
+/* $OpenBSD: auth2-pubkey.c,v 1.90 2019/06/21 03:19:59 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -447,12 +447,12 @@ match_principals_command(struct ssh *ssh, struct passwd *user_pw,
/* Turn the command into an argument vector */
if (argv_split(options.authorized_principals_command, &ac, &av) != 0) {
error("AuthorizedPrincipalsCommand \"%s\" contains "
- "invalid quotes", command);
+ "invalid quotes", options.authorized_principals_command);
goto out;
}
if (ac == 0) {
error("AuthorizedPrincipalsCommand \"%s\" yielded no arguments",
- command);
+ options.authorized_principals_command);
goto out;
}
if ((ca_fp = sshkey_fingerprint(cert->signature_key,