send RDP_NEG_REQ also in the case of a null server certificate

This commit is contained in:
Daryl Poe 2013-09-18 17:16:48 -06:00
parent d8d7a9c1c6
commit afec6957c4

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;
}