Skip to content

Commit

Permalink
upstream: print the correct AuthorizedPrincipalsCommand rather than
Browse files Browse the repository at this point in the history
an uninitialised variable; spotted by dtucker@

OpenBSD-Commit-ID: 02802018784250f68202f01c8561de82e17b0638
  • Loading branch information
djmdjm committed Jun 21, 2019
1 parent 5f68ab4 commit 4cd6b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auth2-pubkey.c
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down Expand Up @@ -450,12 +450,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,
Expand Down

0 comments on commit 4cd6b12

Please sign in to comment.