summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-11 00:03:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-11 00:03:33 +0000
commitbed601927f5ca7f54b544d9e5ce1f77461311b68 (patch)
tree76f5d01619419491feebf3cfa159cb51489543cd /perl.h
parent183c3da10ba46f0626790e1aa75f641397137480 (diff)
downloadperl-bed601927f5ca7f54b544d9e5ce1f77461311b68.tar.gz
Chicken out: the hash randomisation is not on by default.
We switch over to the explicit mode: in other words, if the $ENV{PERL_HASH_SEED} is on, we randomise. Also, we randomise only if PL_hash_seed_set is FALSE (this means one can use PERL_HASH() before perl_run.) Also, since now PERL_HASH_SEED is okay even under -T, all should be fine. (Ha!) p4raw-id: //depot/perl@20135
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index cb43a3d6f1..24742c454d 100644
--- a/perl.h
+++ b/perl.h
@@ -2258,7 +2258,7 @@ typedef struct crypt_data { /* straight from /usr/include/crypt.h */
/* [perl #22371] Algorimic Complexity Attack on Perl 5.6.1, 5.8.0 */
#if !defined(NO_HASH_SEED) && !defined(USE_HASH_SEED) && !defined(USE_HASH_SEED_EXPLICIT)
-# define USE_HASH_SEED
+# define USE_HASH_SEED_EXPLICIT
#endif
#include "regexp.h"