Merge pull request #1494 from dpoe/stable-1.1

send RDP_NEG_REQ also in the case of a null server certificate
This commit is contained in:
Marc-André Moreau 2013-09-19 13:03:46 -07:00
commit d2a9df1ce0

View File

@ -794,6 +794,7 @@ void nego_process_negotiation_failure(rdpNego* nego, wStream* s)
case SSL_NOT_ALLOWED_BY_SERVER:
DEBUG_NEGO("Error: SSL_NOT_ALLOWED_BY_SERVER");
nego->sendNegoData = TRUE;
break;
case SSL_CERT_NOT_ON_SERVER:
@ -933,6 +934,7 @@ void nego_init(rdpNego* nego)
nego->transport->ReceiveCallback = nego_recv;
nego->transport->ReceiveExtra = (void*) nego;
nego->cookie_max_length = DEFAULT_COOKIE_MAX_LENGTH;
nego->sendNegoData = FALSE;
nego->flags = 0;
}