[openssh-commits] [openssh] 02/02: upstream: print the correct AuthorizedPrincipalsCommand rather than

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jun 21 13:21:21 AEST 2019


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 4cd6b12cc9c10bf59c8b425041f3ea5091285a0f
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jun 21 03:19:59 2019 +0000

    upstream: print the correct AuthorizedPrincipalsCommand rather than
    
    an uninitialised variable; spotted by dtucker@
    
    OpenBSD-Commit-ID: 02802018784250f68202f01c8561de82e17b0638
---
 auth2-pubkey.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 4e01b605..05fa5c9f 100644
--- a/auth2-pubkey.c
+++ b/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.
  *
@@ -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,

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list