- djm@cvs.openbsd.org 2002/04/23 22:16:29
[sshd.c] Improve error message; ok markus@ stevesk@
This commit is contained in:
parent
11ec28176e
commit
0150c65830
|
@ -3,6 +3,9 @@
|
||||||
- markus@cvs.openbsd.org 2002/04/23 12:54:10
|
- markus@cvs.openbsd.org 2002/04/23 12:54:10
|
||||||
[version.h]
|
[version.h]
|
||||||
3.2.1
|
3.2.1
|
||||||
|
- djm@cvs.openbsd.org 2002/04/23 22:16:29
|
||||||
|
[sshd.c]
|
||||||
|
Improve error message; ok markus@ stevesk@
|
||||||
|
|
||||||
20020423
|
20020423
|
||||||
- (stevesk) [acconfig.h configure.ac session.c] LOGIN_NO_ENDOPT for HP-UX
|
- (stevesk) [acconfig.h configure.ac session.c] LOGIN_NO_ENDOPT for HP-UX
|
||||||
|
@ -500,4 +503,4 @@
|
||||||
- (stevesk) entropy.c: typo in debug message
|
- (stevesk) entropy.c: typo in debug message
|
||||||
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2082 2002/04/23 23:48:14 djm Exp $
|
$Id: ChangeLog,v 1.2083 2002/04/23 23:49:09 djm Exp $
|
||||||
|
|
5
sshd.c
5
sshd.c
|
@ -42,7 +42,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sshd.c,v 1.239 2002/03/30 18:51:15 markus Exp $");
|
RCSID("$OpenBSD: sshd.c,v 1.240 2002/04/23 22:16:29 djm Exp $");
|
||||||
|
|
||||||
#include <openssl/dh.h>
|
#include <openssl/dh.h>
|
||||||
#include <openssl/bn.h>
|
#include <openssl/bn.h>
|
||||||
|
@ -536,7 +536,8 @@ privsep_preauth_child(void)
|
||||||
demote_sensitive_data();
|
demote_sensitive_data();
|
||||||
|
|
||||||
if ((pw = getpwnam(SSH_PRIVSEP_USER)) == NULL)
|
if ((pw = getpwnam(SSH_PRIVSEP_USER)) == NULL)
|
||||||
fatal("%s: no user", SSH_PRIVSEP_USER);
|
fatal("Privilege separation user %s does not exist",
|
||||||
|
SSH_PRIVSEP_USER);
|
||||||
memset(pw->pw_passwd, 0, strlen(pw->pw_passwd));
|
memset(pw->pw_passwd, 0, strlen(pw->pw_passwd));
|
||||||
endpwent();
|
endpwent();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue