diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-03-20 11:17:40 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-06-11 23:15:48 +0200 |
commit | e95ca7cec9c8907646a2bf87e295a638d5b518fc (patch) | |
tree | 62a7b361221a967288d0e0e83bda9d876ed1e232 /tests/runtests.pl | |
parent | ceacbacd149aa64612968d41c03d0577d427f075 (diff) |
NTLM: set a fake entropy for debug builds with CURL_ENTROPY set
Curl_rand() will return a dummy and repatable random value for this
case. Makes it possible to write test cases that verify output.
Also, fake timestamp with CURL_FORCETIME set.
Only when built debug enabled of course.
Curl_ssl_random() was not used anymore so it has been
removed. Curl_rand() is enough.
create_digest_md5_message: generate base64 instead of hex string
curl_sasl: also fix memory leaks in some OOM situations
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 5982348e9..af4609f97 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -312,6 +312,7 @@ if (!$USER) { # enable memory debugging if curl is compiled with it $ENV{'CURL_MEMDEBUG'} = $memdump; $ENV{'CURL_ENTROPY'}="12345678"; +$ENV{'CURL_FORCETIME'}=1; # for debug NTLM magic $ENV{'HOME'}=$pwd; sub catch_zap { |