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

This commit is contained in:
Michael Jung 2004-06-25 01:17:37 +00:00 committed by Alexandre Julliard
parent 2130f61310
commit de22be2c9e
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ HRESULT WINAPI RSABASE_DllRegisterServer()
DWORD sign = 0xdeadbeef;
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, szSignature, 0, REG_DWORD, (LPBYTE)&sign, sizeof(sign));
RegSetValueExW(key, szSignature, 0, REG_BINARY, (LPBYTE)&sign, sizeof(sign));
}
RegCloseKey(key);
}