mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
Merge connshare socket naming fix from 'pre-0.75'.
This commit is contained in:
commit
f36a871ad3
@ -69,7 +69,11 @@ char *capi_obfuscate_string(const char *realname)
|
||||
* We don't want to give away the length of the hostname either,
|
||||
* so having got it back out of CryptProtectMemory we now hash it.
|
||||
*/
|
||||
hash_simple(&ssh_sha256, make_ptrlen(cryptdata, cryptlen), digest);
|
||||
{
|
||||
ssh_hash *h = ssh_hash_new(&ssh_sha256);
|
||||
put_string(h, cryptdata, cryptlen);
|
||||
ssh_hash_final(h, digest);
|
||||
}
|
||||
|
||||
sfree(cryptdata);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user