summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-05 09:09:44 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-05 09:09:44 +0000
commitbd833d03cdf984f3a5a7ad47c7e7b2072b5e5c76 (patch)
tree44911c930ed7cc0560f997d11ca70e5090595767 /perl.c
parent479fe7a52d5dd4d7b7ae98dfc47284617242b327 (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index abff27c1c9..6000f1ceaa 100644
--- a/perl.c
+++ b/perl.c
@@ -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);
}