libfreerdp-core: fix enabling of RDP security levels

This commit is contained in:
Marc-André Moreau 2012-09-10 16:01:02 -07:00
parent 9d14a663d3
commit bdfb1ca26a
1 changed files with 3 additions and 0 deletions

View File

@ -78,7 +78,10 @@ boolean rdp_client_connect(rdpRdp* rdp)
nego_set_preconnection_blob(rdp->nego, settings->preconnection_blob);
nego_set_negotiation_enabled(rdp->nego, settings->security_layer_negotiation);
nego_enable_rdp(rdp->nego, settings->rdp_security);
nego_enable_tls(rdp->nego, settings->tls_security);
nego_enable_nla(rdp->nego, settings->nla_security);
if (!nego_connect(rdp->nego))
{