diff options
author | markus@openbsd.org <markus@openbsd.org> | 2017-05-31 12:54:00 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-06-01 06:55:23 +0200 |
commit | 75b8af8de805c0694b37fcf80ce82783b2acc86f (patch) | |
tree | d93d2b497f3eba328181548e20365f8c649ecfac /auth-options.h | |
parent | upstream commit (diff) | |
download | openssh-75b8af8de805c0694b37fcf80ce82783b2acc86f.tar.xz openssh-75b8af8de805c0694b37fcf80ce82783b2acc86f.zip |
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.h | 4 |
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 @@ -/* $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 **); |