From 1a237f4f1aacd4c0b9606acf0685f746f7c70528 Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Thu, 1 Jun 2017 15:04:26 +0200 Subject: 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. --- hv_func.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'hv_func.h') 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*/ /* -- cgit v1.2.1