mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
- OpenBSD CVS Sync
- deraadt@cvs.openbsd.org 2010/11/20 05:12:38 [auth2-pubkey.c] clean up cases of ;;
This commit is contained in:
parent
73de86ac5a
commit
188ea814b1
@ -1,3 +1,9 @@
|
|||||||
|
20101201
|
||||||
|
- OpenBSD CVS Sync
|
||||||
|
- deraadt@cvs.openbsd.org 2010/11/20 05:12:38
|
||||||
|
[auth2-pubkey.c]
|
||||||
|
clean up cases of ;;
|
||||||
|
|
||||||
20101124
|
20101124
|
||||||
- (dtucker) [platform.c session.c] Move the getluid call out of session.c and
|
- (dtucker) [platform.c session.c] Move the getluid call out of session.c and
|
||||||
into the platform-specific code Only affects SCO, tested by and ok tim@.
|
into the platform-specific code Only affects SCO, tested by and ok tim@.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: auth2-pubkey.c,v 1.26 2010/06/29 23:16:46 djm Exp $ */
|
/* $OpenBSD: auth2-pubkey.c,v 1.27 2010/11/20 05:12:38 deraadt Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -232,7 +232,7 @@ match_principals_file(char *file, struct passwd *pw, struct KeyCert *cert)
|
|||||||
if ((ep = strrchr(cp, ' ')) != NULL ||
|
if ((ep = strrchr(cp, ' ')) != NULL ||
|
||||||
(ep = strrchr(cp, '\t')) != NULL) {
|
(ep = strrchr(cp, '\t')) != NULL) {
|
||||||
for (; *ep == ' ' || *ep == '\t'; ep++)
|
for (; *ep == ' ' || *ep == '\t'; ep++)
|
||||||
;;
|
;
|
||||||
line_opts = cp;
|
line_opts = cp;
|
||||||
cp = ep;
|
cp = ep;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user