summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>2000-04-15 19:05:13 +0000
committerstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>2000-04-15 19:05:13 +0000
commit9ea0e9b011116be21e4ea36ce82a691600dff565 (patch)
treeaa857dcfce9827d6e56b7178bd820d7b9ff0696a /acconfig.h
parenteb4488faaf9b56f2f3c40800b80c5a128dec9ff7 (diff)
downloadlibapr-9ea0e9b011116be21e4ea36ce82a691600dff565.tar.gz
Here's my first stab at getting mod_auth_digest working under 2.0
quick change summary: - moved the random byte generation into APR This patch adds ap_generate_random_bytes() - now uses ap_time_t - compiles and runs on linux - tested with amaya still to do: - test win32 (This will have to be someone with a windows box :-) I think I did everything correctly. APR_HAS_RANDOM should be defined on windows and there is a lib/apr/misc/win32/rand.c which is basically a copy of what mod_auth_digest used to use. - error handling cleanup Since there is not currently a usable ap_strerror it is commented out. win32 error handling is virtually non-existant. I just don't know enough about win32 to touch this stuff. Brian Submitted by: Brian Martin Reviewed by: Bill Stoddard (very quick review, moving in right direction) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index c6beed8e0..2556b5033 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -30,6 +30,8 @@
#undef HAVE_LOCK_EX
#undef HAVE_F_SETLK
#undef HAVE_PTHREAD_PROCESS_SHARED
+#undef DEV_RANDOM
+#undef HAVE_TRUERAND
/* Cross process serialization techniques */
#undef USE_FLOCK_SERIALIZE