summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-03-15 12:34:01 +0100
committerMichael Adam <obnox@samba.org>2014-12-13 01:21:02 +0100
commit308305d82754087f856abd8725b6930ea0676cd7 (patch)
treeb55290aaed17ab4bb232cbdbdf019319c9066603 /config
parentab6255393d7a983ae3d008f13c1350cf56d32c33 (diff)
downloadtinyproxy-308305d82754087f856abd8725b6930ea0676cd7.tar.gz
tinyproxy-308305d82754087f856abd8725b6930ea0676cd7.zip
BB#110 secure the hashmaps by adding a seed
Based on a patch provided by gpernot@praksys.org on bugzilla. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 14a4d7c..3c162f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,6 +205,8 @@ AC_CHECK_FUNCS([gethostname inet_ntoa memchr memset select socket strcasecmp \
AC_CHECK_FUNCS([isascii memcpy memmove setrlimit ftruncate regcomp regexec])
AC_CHECK_FUNCS([strlcpy strlcat setgroups])
+AC_CHECK_FUNCS([time rand srand])
+
dnl Enable extra warnings
DESIRED_FLAGS="-fdiagnostics-show-option -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wfloat-equal -Wundef -Wformat=2 -Wlogical-op -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Waggregate-return -Winit-self -Wpacked --std=c89 -ansi -pedantic -Wno-overlength-strings -Wc++-compat -Wno-long-long -Wno-overlength-strings -Wdeclaration-after-statement -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-qual -Wcast-align -Wwrite-strings -Wp,-D_FORTIFY_SOURCE=2 -fno-common"