Commit de22be2c authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard

Changed type of "Signature" registry key value to REG_BINARY.

parent 2130f613
...@@ -325,7 +325,7 @@ HRESULT WINAPI RSABASE_DllRegisterServer() ...@@ -325,7 +325,7 @@ HRESULT WINAPI RSABASE_DllRegisterServer()
DWORD sign = 0xdeadbeef; DWORD sign = 0xdeadbeef;
RegSetValueExW(key, szImagePath, 0, REG_SZ, (LPBYTE)szRSABase, (lstrlenW(szRSABase) + 1) * sizeof(WCHAR)); RegSetValueExW(key, szImagePath, 0, REG_SZ, (LPBYTE)szRSABase, (lstrlenW(szRSABase) + 1) * sizeof(WCHAR));
RegSetValueExW(key, szType, 0, REG_DWORD, (LPBYTE)&type, sizeof(type)); RegSetValueExW(key, szType, 0, REG_DWORD, (LPBYTE)&type, sizeof(type));
RegSetValueExW(key, szSignature, 0, REG_DWORD, (LPBYTE)&sign, sizeof(sign)); RegSetValueExW(key, szSignature, 0, REG_BINARY, (LPBYTE)&sign, sizeof(sign));
} }
RegCloseKey(key); RegCloseKey(key);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment