From 66ef54791a439aa00bac62164b2d5cbb86ca245f Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 1 Jan 2016 20:08:45 +0100 Subject: [PATCH] DATA_BLOB cleaning. --- src/Steam/Interfaces/SteamUser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Steam/Interfaces/SteamUser.cpp b/src/Steam/Interfaces/SteamUser.cpp index eac100b2..cfbc6f8e 100644 --- a/src/Steam/Interfaces/SteamUser.cpp +++ b/src/Steam/Interfaces/SteamUser.cpp @@ -30,7 +30,7 @@ namespace Steam Data[0].pbData = (BYTE *)"AAAAAAAAAA"; Data[0].cbData = 10; - CryptProtectData(&Data[0], NULL, NULL, NULL, NULL, CRYPTPROTECT_LOCAL_MACHINE, &Data[1]); + CryptProtectData(Data, NULL, NULL, NULL, NULL, CRYPTPROTECT_LOCAL_MACHINE, &Data[1]); subId = ::Utils::OneAtATime((char*)Data[1].pbData, 52); }