diff options
author | Christian Heimes <christian@cheimes.de> | 2013-02-09 17:02:16 +0100 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-02-09 17:02:16 +0100 |
commit | df9e93d7e9700d05a912d3391ea025c777bbc52b (patch) | |
tree | 31fe040abe5b5d8e8033c0063ab985d2e5e432dc /Python/random.c | |
parent | 6903c5c40635d7286acd189c94fb46584ef9de1d (diff) | |
parent | a0082faefb9e09c8574c7e8a88c4b21d2d659877 (diff) | |
download | cpython-df9e93d7e9700d05a912d3391ea025c777bbc52b.tar.gz |
add proper dependencies on expat headers and sources
Diffstat (limited to 'Python/random.c')
-rw-r--r-- | Python/random.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/random.c b/Python/random.c index 825260f36b..53518c2ebe 100644 --- a/Python/random.c +++ b/Python/random.c @@ -258,17 +258,6 @@ _PyRandom_Init(void) _Py_HashSecret_Initialized = 1; /* - By default, hash randomization is disabled, and only - enabled if PYTHONHASHSEED is set to non-empty or if - "-R" is provided at the command line: - */ - if (!Py_HashRandomizationFlag) { - /* Disable the randomized hash: */ - memset(secret, 0, secret_size); - return; - } - - /* Hash randomization is enabled. Generate a per-process secret, using PYTHONHASHSEED if provided. */ |