Curl_rand: Use a fake entropy for debug builds when CURL_ENTROPY set

This commit is contained in:
Steve Holme
2014-06-08 20:33:29 +01:00
parent bde0d89c3d
commit 51bb067a42
2 changed files with 19 additions and 1 deletions

View File

@@ -311,6 +311,7 @@ if (!$USER) {
# enable memory debugging if curl is compiled with it
$ENV{'CURL_MEMDEBUG'} = $memdump;
$ENV{'CURL_ENTROPY'}="12345678";
$ENV{'HOME'}=$pwd;
sub catch_zap {