summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-04-04 20:32:57 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-04-04 20:32:57 +0000
commite2f4d25a6ec935f6fe978d32bc88321fcd0b223c (patch)
tree2900f3adeabcead245895c98c98fac443d054e8d /usr.bin
parent4f83dbd35d9809179c73680ee7670a6d96845477 (diff)
we don't care about missing bannerfiles; from tsoome@ut.ee, ok deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/auth2.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index 6207db1f4b8..bc0e2741e47 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/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>
@@ -258,11 +258,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;