summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-28 04:55:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-28 04:55:42 +0000
commitd10dc2ae49cc86b60fcfeb2fbd54ff9f07d3ccc3 (patch)
tree67b8e64ace587ea33ba61c694a15017059b4a3a8 /perl.h
parente267033d98cea5c48492831d4add33c9b7ccb0c0 (diff)
downloadperl-d10dc2ae49cc86b60fcfeb2fbd54ff9f07d3ccc3.tar.gz
More clarification about the hash randomisation defines.
p4raw-id: //depot/perl@20252
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 8b50836066..2e6a9f0a58 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