]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2001/04/04 20:32:56
authormouring <mouring>
Wed, 4 Apr 2001 23:47:52 +0000 (23:47 +0000)
committermouring <mouring>
Wed, 4 Apr 2001 23:47:52 +0000 (23:47 +0000)
     [auth2.c]
     we don't care about missing bannerfiles; from tsoome@ut.ee, ok deraadt@

ChangeLog
auth2.c

index 1fc59f33a782f689ee682ae5c5941a811bd5ada7..90f5219bedabcbcc787e09412fe48c17fd1e8f3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,9 @@
       sshconnect2.c sshd.c]
      more robust rekeying
      don't send channel data after rekeying is started.
+   - 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@
 
 20010404
  - OpenBSD CVS Sync
diff --git a/auth2.c b/auth2.c
index 3e99c5ba25f7820a2e1f7a02b7cf7fe469a57e2b..8c9eb17a9790fbae0035cc71b901cbaf6035850d 100644 (file)
--- 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;
This page took 0.074452 seconds and 5 git commands to generate.