summaryrefslogtreecommitdiffstats
path: root/auth2.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-04 23:47:52 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-04 23:47:52 +0000
commit0cae04005ec358e5f64ee141af5e38eb3a756a30 (patch)
tree9cc9b45546ce43b967b2806c5c2a66d0fd604ac8 /auth2.c
parentbe2cc43c3ad65dc7af5bdd350eccecefa05c80ff (diff)
- markus@cvs.openbsd.org 2001/04/04 20:32:56
[auth2.c] we don't care about missing bannerfiles; from tsoome@ut.ee, ok deraadt@
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/auth2.c b/auth2.c
index 3e99c5ba..8c9eb17a 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.49 2001/03/28 22:43:31 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.50 2001/04/04 20:32:56 markus Exp $");
#include <openssl/evp.h>
@@ -274,11 +274,8 @@ userauth_banner(void)
if (options.banner == NULL || (datafellows & SSH_BUG_BANNER))
return;
- if ((fd = open(options.banner, O_RDONLY)) < 0) {
- error("userauth_banner: open %s failed: %s",
- options.banner, strerror(errno));
+ if ((fd = open(options.banner, O_RDONLY)) < 0)
return;
- }
if (fstat(fd, &st) < 0)
goto done;
len = st.st_size;