diff options
author | 2016-11-08 22:04:34 +0000 | |
---|---|---|
committer | 2016-11-08 22:04:34 +0000 | |
commit | c44214950f2dc0954262037751f41e3856d9a9f2 (patch) | |
tree | af3762b498735f0e6db233aa612279c211e9f2f3 /usr.bin/ssh/auth.c | |
parent | Reserve extra space for the bufring header structure (diff) | |
download | wireguard-openbsd-c44214950f2dc0954262037751f41e3856d9a9f2.tar.xz wireguard-openbsd-c44214950f2dc0954262037751f41e3856d9a9f2.zip |
unbreak DenyUsers; reported by henning@
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r-- | usr.bin/ssh/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c index 4f7cc2df3f0..a71ebc95c10 100644 --- a/usr.bin/ssh/auth.c +++ b/usr.bin/ssh/auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth.c,v 1.117 2016/11/06 05:46:37 djm Exp $ */ +/* $OpenBSD: auth.c,v 1.118 2016/11/08 22:04:34 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -132,7 +132,7 @@ allowed_user(struct passwd * pw) if (r < 0) { fatal("Invalid DenyUsers pattern \"%.100s\"", options.deny_users[i]); - } else if (r != 1) { + } else if (r != 0) { logit("User %.100s from %.100s not allowed " "because listed in DenyUsers", pw->pw_name, hostname); |