diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-05 09:09:44 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-05 09:09:44 +0000 |
commit | bd833d03cdf984f3a5a7ad47c7e7b2072b5e5c76 (patch) | |
tree | 44911c930ed7cc0560f997d11ca70e5090595767 /perl.c | |
parent | 479fe7a52d5dd4d7b7ae98dfc47284617242b327 (diff) | |
download | perl-bd833d03cdf984f3a5a7ad47c7e7b2072b5e5c76.tar.gz |
Allow $ENV{PERL_HASH_SEED_DEBUG} to work even under taint;
since CGI scripts are (should be) run under -T, being able
to show the HASH_SEED in case of problems is good.
The $ENV{PERL_HASH_SEED} is still ignored under taint.
p4raw-id: //depot/perl@20007
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -926,7 +926,7 @@ setuid perl scripts securely.\n"); #endif /* RANDBITS < (UVSIZE * 8) */ } #endif /* USE_HASH_SEED_EXPLICIT */ - if (!earlytaint && (s = PerlEnv_getenv("PERL_HASH_SEED_DEBUG"))) + if (s = PerlEnv_getenv("PERL_HASH_SEED_DEBUG")) PerlIO_printf(Perl_debug_log, "HASH_SEED = %"UVuf"\n", PL_hash_seed); } |