Changed type of "Signature" registry key value to REG_BINARY.
This commit is contained in:
parent
2130f61310
commit
de22be2c9e
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue