summaryrefslogtreecommitdiff
path: root/entropy.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-27 08:39:07 +1100
committerDamien Miller <djm@mindrot.org>2001-02-27 08:39:07 +1100
commitfbd884a80d35bad7d69410096e3ab186783dd038 (patch)
tree087729e583f7eb0dce13a0a738526ae2b6c06a2a /entropy.c
parent0c100870ac1c271a0a3d65099777af312e71d865 (diff)
downloadopenssh-git-fbd884a80d35bad7d69410096e3ab186783dd038.tar.gz
- (djm) Fix up POSIX saved uid support. Report from Mark Miller
<markm@swoon.net> - (djm) Search for -lcrypt on FreeBSD too
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/entropy.c b/entropy.c
index daff1e64..9743e598 100644
--- a/entropy.c
+++ b/entropy.c
@@ -39,7 +39,7 @@
#include "pathnames.h"
#include "log.h"
-RCSID("$Id: entropy.c,v 1.30 2001/02/26 09:49:59 djm Exp $");
+RCSID("$Id: entropy.c,v 1.31 2001/02/26 21:39:07 djm Exp $");
#ifndef offsetof
# define offsetof(type, member) ((size_t) &((type *)0)->member)
@@ -63,6 +63,10 @@ RCSID("$Id: entropy.c,v 1.30 2001/02/26 09:49:59 djm Exp $");
# define RUSAGE_CHILDREN 0
#endif
+#if defined(_POSIX_SAVED_IDS) && !defined(BROKEN_SAVED_UIDS)
+# define SAVED_IDS_WORK_WITH_SETEUID
+#endif
+
#if defined(EGD_SOCKET) || defined(RANDOM_POOL)
#ifdef EGD_SOCKET