summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-11-23 11:42:02 +0100
committerNicholas Clark <nick@ccl4.org>2012-11-23 13:57:01 +0100
commit64b18ddce5bc88a1ffc2ea6b84d36bc3f5c9c4fe (patch)
tree4fb14eea99935e6deb612c171e8fdefcd478892e /perlvars.h
parent8058d0d91ae083a6d65a938a455086efcbd79520 (diff)
downloadperl-64b18ddce5bc88a1ffc2ea6b84d36bc3f5c9c4fe.tar.gz
The size of PL_hash_seed depends on the chosen hash algorithm.
For most 8 is fine, but SipHash needs 16.
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlvars.h b/perlvars.h
index 68471a0b80..f8bb821b89 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -233,4 +233,4 @@ PERLVAR(G, malloc_mutex, perl_mutex) /* Mutex for malloc */
#endif
PERLVARI(G, hash_seed_set, bool, FALSE) /* perl.c */
-PERLVARA(G, hash_seed, 8, unsigned char) /* and hv.h */
+PERLVARA(G, hash_seed, PERL_HASH_SEED_BYTES, unsigned char) /* and hv.h */