Files
cpp-build-system/support/3rd_party/libdsm_smb_ntlm_c.patch
Scott E. Graves 92e3e495ce
Some checks failed
sgraves/cpp-build-system_mac/pipeline/head There was a failure building this commit
sgraves/cpp-build-system/pipeline/head There was a failure building this commit
initial commit
2025-10-17 07:44:16 -05:00

18 lines
400 B
Diff

*** src/smb_ntlm.c 2024-08-25 14:09:43.423507167 -0500
--- src/smb_ntlm.c.new 2024-08-25 15:28:31.976894610 -0500
*************** uint64_t smb_ntlm_generate_challenge(
*** 80,86 ****
--- 80,91 ----
}
#else
unsigned int number;
+ #ifdef rand_s
rand_s( &number );
+ #else
+ srand( (unsigned)time( NULL ) );
+ number = rand();
+ #endif
return number;
#endif
}