summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
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 3e99c5ba2..8c9eb17a9 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2.c,v 1.49 2001/03/28 22:43:31 markus Exp $"); 26RCSID("$OpenBSD: auth2.c,v 1.50 2001/04/04 20:32:56 markus Exp $");
27 27
28#include <openssl/evp.h> 28#include <openssl/evp.h>
29 29
@@ -274,11 +274,8 @@ userauth_banner(void)
274 274
275 if (options.banner == NULL || (datafellows & SSH_BUG_BANNER)) 275 if (options.banner == NULL || (datafellows & SSH_BUG_BANNER))
276 return; 276 return;
277 if ((fd = open(options.banner, O_RDONLY)) < 0) { 277 if ((fd = open(options.banner, O_RDONLY)) < 0)
278 error("userauth_banner: open %s failed: %s",
279 options.banner, strerror(errno));
280 return; 278 return;
281 }
282 if (fstat(fd, &st) < 0) 279 if (fstat(fd, &st) < 0)
283 goto done; 280 goto done;
284 len = st.st_size; 281 len = st.st_size;