Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -763,8 +763,13 @@ CURLcode Curl_ntlm_create_type3_message(struct SessionHandle *data, | |
unsigned char entropy[8]; | ||
unsigned char ntlmv2hash[0x18]; | ||
|
||
/* Need to create 8 bytes random client nonce */ | ||
#if defined(DEBUGBUILD) | ||
/* Use static client nonce in debug (Test Suite) builds */ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
captain-caveman2k
via email
Author
Contributor
|
||
memcpy(entropy, "12345678", sizeof(entropy)); | ||
#else | ||
/* Create an 8 byte random client nonce */ | ||
Curl_ssl_random(data, entropy, sizeof(entropy)); | ||
#endif | ||
|
||
res = Curl_ntlm_core_mk_nt_hash(data, passwdp, ntbuffer); | ||
if(res) | ||
|
Does it mean that NTLM tests cannot run on top of non-debug builds of libcurl any more? This used to work fine prior to commit 8672458...