summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-04-24 09:49:09 +1000
committerDamien Miller <djm@mindrot.org>2002-04-24 09:49:09 +1000
commit0150c658302729a7e9e87ad101b72db47090f3f0 (patch)
treeb3041be34c689a7f22b4b3da46a17c36268a73e2 /sshd.c
parent11ec28176e2eff06af7cc0b811b51cbb2792996b (diff)
- djm@cvs.openbsd.org 2002/04/23 22:16:29
[sshd.c] Improve error message; ok markus@ stevesk@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 2e21d3d4e..8b1ebb462 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.239 2002/03/30 18:51:15 markus Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.240 2002/04/23 22:16:29 djm Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -536,7 +536,8 @@ privsep_preauth_child(void)
536 demote_sensitive_data(); 536 demote_sensitive_data();
537 537
538 if ((pw = getpwnam(SSH_PRIVSEP_USER)) == NULL) 538 if ((pw = getpwnam(SSH_PRIVSEP_USER)) == NULL)
539 fatal("%s: no user", SSH_PRIVSEP_USER); 539 fatal("Privilege separation user %s does not exist",
540 SSH_PRIVSEP_USER);
540 memset(pw->pw_passwd, 0, strlen(pw->pw_passwd)); 541 memset(pw->pw_passwd, 0, strlen(pw->pw_passwd));
541 endpwent(); 542 endpwent();
542 543