summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 32ce19250..65db116ed 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-pubkey.c,v 1.91 2019/07/16 13:18:39 djm Exp $ */ 1/* $OpenBSD: auth2-pubkey.c,v 1.92 2019/09/03 08:29:58 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -538,16 +538,6 @@ match_principals_command(struct ssh *ssh, struct passwd *user_pw,
538 return found_principal; 538 return found_principal;
539} 539}
540 540
541static void
542skip_space(char **cpp)
543{
544 char *cp;
545
546 for (cp = *cpp; *cp == ' ' || *cp == '\t'; cp++)
547 ;
548 *cpp = cp;
549}
550
551/* 541/*
552 * Advanced *cpp past the end of key options, defined as the first unquoted 542 * Advanced *cpp past the end of key options, defined as the first unquoted
553 * whitespace character. Returns 0 on success or -1 on failure (e.g. 543 * whitespace character. Returns 0 on success or -1 on failure (e.g.