mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- 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@
This commit is contained in:
parent
be2cc43c3a
commit
0cae04005e
@ -17,6 +17,9 @@
|
|||||||
sshconnect2.c sshd.c]
|
sshconnect2.c sshd.c]
|
||||||
more robust rekeying
|
more robust rekeying
|
||||||
don't send channel data after rekeying is started.
|
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
|
20010404
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
@ -4856,4 +4859,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1058 2001/04/04 23:46:07 mouring Exp $
|
$Id: ChangeLog,v 1.1059 2001/04/04 23:47:52 mouring Exp $
|
||||||
|
7
auth2.c
7
auth2.c
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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>
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
@ -274,11 +274,8 @@ userauth_banner(void)
|
|||||||
|
|
||||||
if (options.banner == NULL || (datafellows & SSH_BUG_BANNER))
|
if (options.banner == NULL || (datafellows & SSH_BUG_BANNER))
|
||||||
return;
|
return;
|
||||||
if ((fd = open(options.banner, O_RDONLY)) < 0) {
|
if ((fd = open(options.banner, O_RDONLY)) < 0)
|
||||||
error("userauth_banner: open %s failed: %s",
|
|
||||||
options.banner, strerror(errno));
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
if (fstat(fd, &st) < 0)
|
if (fstat(fd, &st) < 0)
|
||||||
goto done;
|
goto done;
|
||||||
len = st.st_size;
|
len = st.st_size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user