diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2015-10-01 15:04:29 -0400 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2015-10-14 10:50:31 +1100 |
commit | c2d4ebc6c9a49f99997e3438fc8288c7bdbeb2c0 (patch) | |
tree | f54a3b3e34a0b6ad19b2fad12eb82f5f8d592b02 /hv_func.h | |
parent | 5a55ed33047e05399ce1a3781bb35f300aa7fb63 (diff) | |
download | perl-c2d4ebc6c9a49f99997e3438fc8288c7bdbeb2c0.tar.gz |
fix NO_HASH_SEED build
commit b1300a738f added PERL_HASH_FUNC_ONE_AT_A_TIME_HARD algo, which was
the first one to introduce 8 byte seeds, previously all the algos used 4
or 16 byte seeds. No case was added to the CPP tree for 8 byte const
seeds, so add one now. Otherwise the #error at the end of the tree runs
and breaks the build. NO_HASH_SEED define was public API in the past and
could be considered to still be public API, see commit f36626324a.
My use for NO_HASH_SEED is reducing entropy for tracking down memory
corruption.
Diffstat (limited to 'hv_func.h')
-rw-r--r-- | hv_func.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -84,6 +84,8 @@ # define PERL_HASH_SEED PL_hash_seed # elif PERL_HASH_SEED_BYTES == 4 # define PERL_HASH_SEED "PeRl" +# elif PERL_HASH_SEED_BYTES == 8 +# define PERL_HASH_SEED "PeRlHaSh" # elif PERL_HASH_SEED_BYTES == 16 # define PERL_HASH_SEED "PeRlHaShhAcKpErl" # else |