From: Jarkko Hietaniemi Date: Mon, 28 Jul 2003 04:55:42 +0000 (+0000) Subject: More clarification about the hash randomisation defines. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d10dc2ae49cc86b60fcfeb2fbd54ff9f07d3ccc3;p=p5sagit%2Fp5-mst-13.2.git More clarification about the hash randomisation defines. p4raw-id: //depot/perl@20252 --- diff --git a/perl.h b/perl.h index 8b50836..2e6a9f0 100644 --- a/perl.h +++ b/perl.h @@ -2256,7 +2256,12 @@ typedef struct crypt_data { /* straight from /usr/include/crypt.h */ # include "iperlsys.h" #endif -/* [perl #22371] Algorimic Complexity Attack on Perl 5.6.1, 5.8.0 */ +/* [perl #22371] Algorimic Complexity Attack on Perl 5.6.1, 5.8.0. + * Note that the USE_HASH_SEED and USE_HASH_SEED_EXPLICIT are *NOT* + * defined by Configure, despite their names being similar to the + * other defines like USE_ITHREADS. Configure in fact knows nothing + * about the randomised hashes. Therefore to enable/disable the hash + * randomisation defines use the Configure -Accflags=... instead. */ #if !defined(NO_HASH_SEED) && !defined(USE_HASH_SEED) && !defined(USE_HASH_SEED_EXPLICIT) # define USE_HASH_SEED #endif