aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-10-12 14:51:32 +0000
committerWerner Koch <[email protected]>2002-10-12 14:51:32 +0000
commit0aa7112f1cab6005c677d74dc0a4f69b51ac148f (patch)
tree22956216746337e318dcd9d7fc4fd2c6beafeacf /configure.ac
parentComment fix for make_filename (diff)
downloadgnupg-0aa7112f1cab6005c677d74dc0a4f69b51ac148f.tar.gz
gnupg-0aa7112f1cab6005c677d74dc0a4f69b51ac148f.zip
* rndunix.c (my_popen): Make sure that stdin and stderr are
connected to a file. This is to avoid NetBSD to complain about set{u,g}id programs invoked with fd 0, 2 closed. Reported by Cristian Biere. (start_gatherer): Likewise. Reordered code. * configure.ac (NAME_OF_DEV_URANDOM): Don't use /dev/srandom for NetBSD. Noted by Christian Biere.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 018f778ce..5426e7b5c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -468,7 +468,7 @@ AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$PRINTABLE_OS_NAME",
NAME_OF_DEV_RANDOM="/dev/random"
NAME_OF_DEV_URANDOM="/dev/urandom"
case "${target}" in
- *-openbsd* | *-netbsd*)
+ *-openbsd*)
NAME_OF_DEV_RANDOM="/dev/srandom"
NAME_OF_DEV_URANDOM="/dev/urandom"
;;