mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
send RDP_NEG_REQ also in the case of a null server certificate
(cherry picked from commit afec6957c4245aa2091c3ab5f7e67f07e0c3cf9b)
This commit is contained in:
committed by
Bernhard Miklautz
parent
2a9610bbfe
commit
fee219168a
@@ -798,6 +798,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:
|
||||
@@ -940,6 +941,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user