Removed the unused lines
parent
2d3d6fc2bb
commit
ff21223f06
|
@ -36,7 +36,6 @@ static int is_env_variable_set(const char* variablename, const char* expectedval
|
|||
return 0;
|
||||
}
|
||||
|
||||
//Set User's Environment variable via registry
|
||||
static void openssl_patch(void) {
|
||||
const char* variablename = "OPENSSL_ia32cap";
|
||||
const char* variablevalue = "~0x20000000";
|
||||
|
@ -64,18 +63,6 @@ static void openssl_patch(void) {
|
|||
}
|
||||
}
|
||||
|
||||
//Set environment variable for current process
|
||||
// static void openssl_patch(void) {
|
||||
// const wchar_t* variablename = L"OPENSSL_ia32cap";
|
||||
// const wchar_t* variablevalue = L"~0x20000000";
|
||||
|
||||
// if (SetEnvironmentVariableW(variablename, variablevalue)) {
|
||||
// dprintf("OpenSSL Patch: Applied successfully, set the environment variable %ls to %ls\n", variablename, variablevalue);
|
||||
// } else {
|
||||
// dprintf("OpenSSL Patch: Error: Failed to set the environment variable.\n");
|
||||
// }
|
||||
// }
|
||||
|
||||
HRESULT openssl_patch_apply(const struct openssl_patch_config *cfg) {
|
||||
HRESULT hr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue