summaryrefslogtreecommitdiff
path: root/auth-options.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2017-05-31 10:54:00 +0000
committerDamien Miller <djm@mindrot.org>2017-06-01 14:55:23 +1000
commit75b8af8de805c0694b37fcf80ce82783b2acc86f (patch)
treed93d2b497f3eba328181548e20365f8c649ecfac /auth-options.h
parent84008608c9ee944d9f72f5100f31ccff743b10f2 (diff)
downloadopenssh-git-75b8af8de805c0694b37fcf80ce82783b2acc86f.tar.gz
upstream commit
make sure we don't pass a NULL string to vfprintf (triggered by the principals-command regress test); ok bluhm Upstream-ID: eb49854f274ab37a0b57056a6af379a0b7111990
Diffstat (limited to 'auth-options.h')
-rw-r--r--auth-options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-options.h b/auth-options.h
index 52cbb42a..547f0163 100644
--- a/auth-options.h
+++ b/auth-options.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.h,v 1.22 2016/11/30 02:57:40 djm Exp $ */
+/* $OpenBSD: auth-options.h,v 1.23 2017/05/31 10:54:00 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -33,7 +33,7 @@ extern int forced_tun_device;
extern int key_is_cert_authority;
extern char *authorized_principals;
-int auth_parse_options(struct passwd *, char *, char *, u_long);
+int auth_parse_options(struct passwd *, char *, const char *, u_long);
void auth_clear_options(void);
int auth_cert_options(struct sshkey *, struct passwd *, const char **);