mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Discourage use of --enable-blocking-random
This commit is contained in:
parent
b5e1a5afc1
commit
c6e93b9f79
@ -78,10 +78,10 @@ AC_ARG_ENABLE(pie,
|
||||
AS_CASE([$host_os], [mingw*|cygwin*|msys], [enable_pie="no"])
|
||||
|
||||
AC_ARG_ENABLE(blocking-random,
|
||||
[AS_HELP_STRING(--enable-blocking-random,Use /dev/random instead of /dev/urandom)],
|
||||
[AS_HELP_STRING(--enable-blocking-random,Enable this switch only if /dev/urandom is totally broken on the target platform)],
|
||||
[
|
||||
AS_IF([test "x$enableval" = "xyes"], [
|
||||
AC_DEFINE([USE_BLOCKING_RANDOM], [1], [Use blocking random])
|
||||
AC_DEFINE([USE_BLOCKING_RANDOM], [1], [/dev/urandom is insecure on the target platform])
|
||||
])
|
||||
])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user