- djm@cvs.openbsd.org 2002/04/23 22:16:29

[sshd.c]
     Improve error message; ok markus@ stevesk@
This commit is contained in:
Damien Miller 2002-04-24 09:49:09 +10:00
parent 11ec28176e
commit 0150c65830
2 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,9 @@
- markus@cvs.openbsd.org 2002/04/23 12:54:10
[version.h]
3.2.1
- djm@cvs.openbsd.org 2002/04/23 22:16:29
[sshd.c]
Improve error message; ok markus@ stevesk@
20020423
- (stevesk) [acconfig.h configure.ac session.c] LOGIN_NO_ENDOPT for HP-UX
@ -500,4 +503,4 @@
- (stevesk) entropy.c: typo in debug message
- (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
View File

@ -42,7 +42,7 @@
*/
#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/bn.h>
@ -536,7 +536,8 @@ privsep_preauth_child(void)
demote_sensitive_data();
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));
endpwent();