secur32: Disable SSL2 protocol in default settings.

This commit is contained in:
Jacek Caban 2013-03-30 16:25:58 +01:00 committed by Alexandre Julliard
parent 8036bd14f9
commit 194cc70fbe
2 changed files with 3 additions and 2 deletions

View File

@ -178,7 +178,7 @@ static void read_config(void)
BOOL enabled; /* If no config is present, enable the protocol */
BOOL disabled_by_default; /* Disable if caller asks for default protocol set */
} protocol_config_keys[] = {
{{'S','S','L',' ','2','.','0',0}, SP_PROT_SSL2_CLIENT, TRUE, TRUE},
{{'S','S','L',' ','2','.','0',0}, SP_PROT_SSL2_CLIENT, FALSE, TRUE}, /* NOTE: TRUE, TRUE on Windows */
{{'S','S','L',' ','3','.','0',0}, SP_PROT_SSL3_CLIENT, TRUE, FALSE},
{{'T','L','S',' ','1','.','0',0}, SP_PROT_TLS1_0_CLIENT, TRUE, FALSE},
{{'T','L','S',' ','1','.','1',0}, SP_PROT_TLS1_1_CLIENT, TRUE, FALSE /* NOTE: not enabled by default on Windows */ },
@ -220,7 +220,7 @@ static void read_config(void)
if(type != REG_DWORD || value)
default_disabled |= protocol_config_keys[i].prot_client_flag;
}else if(protocol_config_keys[i].disabled_by_default) {
default_disabled |= protocol_config_keys[i].prot_client_flag;
default_disabled |= protocol_config_keys[i].prot_client_flag;
}
RegCloseKey(key);

View File

@ -639,6 +639,7 @@ HKLM,Software\Microsoft\Transaction Server,,16
HKLM,Software\Policies,,16
HKLM,Software\Registered Applications,,16
HKLM,System\CurrentControlSet\Control\Lsa,,16
HKLM,System\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\SSL 2.0\Client,"DisabledByDefault",0x10003,1
HKLM,System\CurrentControlSet\Control\TimeZoneInformation,"StandardName",2,""
HKLM,System\CurrentControlSet\Control\TimeZoneInformation,"TimeZoneKeyName",2,""
HKLM,System\CurrentControlSet\Control\VirtualDeviceDrivers,,16