summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/ssh.c b/ssh.c
index 0afdba7b5..8b77a8101 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: ssh.c,v 1.174 2002/05/23 19:39:34 markus Exp $"); 43RCSID("$OpenBSD: ssh.c,v 1.175 2002/06/08 05:07:56 markus Exp $");
44 44
45#include <openssl/evp.h> 45#include <openssl/evp.h>
46#include <openssl/err.h> 46#include <openssl/err.h>
@@ -717,14 +717,6 @@ again:
717 * user's home directory if it happens to be on a NFS volume where 717 * user's home directory if it happens to be on a NFS volume where
718 * root is mapped to nobody. 718 * root is mapped to nobody.
719 */ 719 */
720
721 /*
722 * Note that some legacy systems need to postpone the following call
723 * to permanently_set_uid() until the private hostkey is destroyed
724 * with RSA_free(). Otherwise the calling user could ptrace() the
725 * process, read the private hostkey and impersonate the host.
726 * OpenBSD does not allow ptracing of setuid processes.
727 */
728 permanently_set_uid(pw); 720 permanently_set_uid(pw);
729 721
730 /* 722 /*