summaryrefslogtreecommitdiff
path: root/test/testsock.c
diff options
context:
space:
mode:
authorylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2017-11-05 00:58:05 +0000
committerylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2017-11-05 00:58:05 +0000
commit66a2a6844b1abf8acad0e5e4f735ddbbd01953a3 (patch)
treee9955a16f9bb7f8819d160672b889c6f3aa313db /test/testsock.c
parent7b8971867cd6f63b5751014e725a9c7db40589e2 (diff)
downloadlibapr-66a2a6844b1abf8acad0e5e4f735ddbbd01953a3.tar.gz
rand: follow up to r1814239, r1814240 and r1814326.
The above commits added the checks for HAVE_GETRANDOM and HAVE_ARC4RANDOM first in configure.in so to avoid breaking the AC_MESSAGE_CHECKING/RESULT line, thus it also defined the macros unconditionally (while the others were and still are only defined if no previous one is elected already). Yet the top priority one should remain HAVE_EGD when --with-egd is specified, so we now have to rearrange apr_generate_random_bytes()'s #ifdefs to preserve that now. While at it, let's add an #error for the "should not happen" case where APR_HAS_RANDOM is defined but no implementation is found. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1814331 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testsock.c')
0 files changed, 0 insertions, 0 deletions