mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-core: apply patch from Nicolas Graziano to fix protocol security settings when Standard RDP is negotiated
This commit is contained in:
parent
6cf2bc1eed
commit
82d5d1b8f1
|
@ -85,6 +85,13 @@ boolean nego_connect(rdpNego* nego)
|
||||||
nego->transport->settings->requested_protocols = nego->requested_protocols;
|
nego->transport->settings->requested_protocols = nego->requested_protocols;
|
||||||
nego->transport->settings->selected_protocol = nego->selected_protocol;
|
nego->transport->settings->selected_protocol = nego->selected_protocol;
|
||||||
|
|
||||||
|
if(nego->selected_protocol == PROTOCOL_RDP)
|
||||||
|
{
|
||||||
|
nego->transport->settings->encryption = True;
|
||||||
|
nego->transport->settings->encryption_method = ENCRYPTION_METHOD_40BIT | ENCRYPTION_METHOD_128BIT | ENCRYPTION_METHOD_FIPS;
|
||||||
|
nego->transport->settings->encryption_level = ENCRYPTION_LEVEL_CLIENT_COMPATIBLE;
|
||||||
|
}
|
||||||
|
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue