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)
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 52cbb42aa..547f01635 100644
--- a/auth-options.h
+++ b/auth-options.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth-options.h,v 1.22 2016/11/30 02:57:40 djm Exp $ */ 1/* $OpenBSD: auth-options.h,v 1.23 2017/05/31 10:54:00 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -33,7 +33,7 @@ extern int forced_tun_device;
33extern int key_is_cert_authority; 33extern int key_is_cert_authority;
34extern char *authorized_principals; 34extern char *authorized_principals;
35 35
36int auth_parse_options(struct passwd *, char *, char *, u_long); 36int auth_parse_options(struct passwd *, char *, const char *, u_long);
37void auth_clear_options(void); 37void auth_clear_options(void);
38int auth_cert_options(struct sshkey *, struct passwd *, const char **); 38int auth_cert_options(struct sshkey *, struct passwd *, const char **);
39 39