summaryrefslogtreecommitdiff
path: root/hv_func.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2017-06-01 15:04:26 +0200
committerYves Orton <demerphq@gmail.com>2017-06-01 16:16:16 +0200
commit1a237f4f1aacd4c0b9606acf0685f746f7c70528 (patch)
tree9ffe254333e6996a3facea0ba40c0258127db3a2 /hv_func.h
parent1c4b2386d9e49f946664295ac003573dea41155e (diff)
downloadperl-1a237f4f1aacd4c0b9606acf0685f746f7c70528.tar.gz
Restore "get rid of USE_HASH_SEED_EXPLICIT"
This reverts commit eba287cb48b881ee252ec418246375010c97a85b, which was a revert of dd1b95f812312c85390f487887cdd55282fcd6ce. As far as I know USE_HASH_SEED_EXPLICIT been outright broken for a long time, and it doesnt make any sense since mandatory randomization anyway, so simply remove it.
Diffstat (limited to 'hv_func.h')
-rw-r--r--hv_func.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/hv_func.h b/hv_func.h
index ce2d50b577..e091c86b0f 100644
--- a/hv_func.h
+++ b/hv_func.h
@@ -133,7 +133,7 @@ U32 S_perl_hash_with_seed(const U8 * const seed, const U8 * const str, const STR
* initialze whatever state it might need later in hashing. */
#ifndef PERL_HASH_SEED
-# if defined(USE_HASH_SEED) || defined(USE_HASH_SEED_EXPLICIT)
+# if defined(USE_HASH_SEED)
# define PERL_HASH_SEED PL_hash_seed
# else
/* this is a 512 bit seed, which should be more than enough for the
@@ -270,9 +270,6 @@ PERL_SIPHASH_FNC(
#endif /* defined(CAN64BITHASH) */
-
-
-
#endif /*compile once*/
/*