diff options
author | Steve Bennett <steveb@workware.net.au> | 2012-01-10 09:36:28 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2013-12-21 01:30:19 +1000 |
commit | c9b4ead06ad0a9e66759d279dee5de9991b8dc2f (patch) | |
tree | 6e251688d024a9a0075a8633a2f0339915b2f3c2 /auto.def | |
parent | 0cbbaaff6a5bfc61640ce6997b203ed23219841c (diff) | |
download | jimtcl-c9b4ead06ad0a9e66759d279dee5de9991b8dc2f.zip jimtcl-c9b4ead06ad0a9e66759d279dee5de9991b8dc2f.tar.gz jimtcl-c9b4ead06ad0a9e66759d279dee5de9991b8dc2f.tar.bz2 |
allow hash tables to be randomise
To avoid hash table collision attacks (n.runs-SA-2011.004)
Note that this options is *off* by default, but it is reasonable
to consider reversing this.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,7 @@ options { with-jim-shared shared => "build a shared library instead of a static library" jim-regexp=1 => "prefer POSIX regex if over the the built-in (Tcl-compatible) regex" docs=1 => "don't build or install the documentation" + random-hash => "randomise hash tables. more secure but hash table results are not predicable" with-jim-ext: {with-ext:"ext1 ext2 ..."} => { Specify additional jim extensions to include. These are enabled by default: @@ -189,6 +190,7 @@ if {[opt-bool shared with-jim-shared]} { define LIBSOEXT [format [get-define SH_SOEXTVER] [format %.2f [expr {[get-define JIM_VERSION] / 100.0}]]] define JIM_INSTALL [opt-bool install-jim] define JIM_DOCS [opt-bool docs] +define JIM_RANDOMISE_HASH [opt-bool random-hash] # Attributes of the extensions # tcl=Pure Tcl extension |