diff options
author | Yves Orton <demerphq@gmail.com> | 2017-06-01 15:04:26 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2017-06-01 16:16:16 +0200 |
commit | 1a237f4f1aacd4c0b9606acf0685f746f7c70528 (patch) | |
tree | 9ffe254333e6996a3facea0ba40c0258127db3a2 /util.c | |
parent | 1c4b2386d9e49f946664295ac003573dea41155e (diff) | |
download | perl-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 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4632,7 +4632,6 @@ Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer) env_pv= PerlEnv_getenv("PERL_HASH_SEED"); if ( env_pv ) -# ifndef USE_HASH_SEED_EXPLICIT { /* ignore leading spaces */ while (isSPACE(*env_pv)) @@ -4667,8 +4666,7 @@ Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer) /* should we warn about insufficient hex? */ } else -# endif -#endif +#endif /* NO_PERL_HASH_ENV */ { (void)seedDrand01((Rand_seed_t)seed()); |