From afec6957c4245aa2091c3ab5f7e67f07e0c3cf9b Mon Sep 17 00:00:00 2001 From: Daryl Poe Date: Wed, 18 Sep 2013 17:16:48 -0600 Subject: [PATCH] send RDP_NEG_REQ also in the case of a null server certificate --- libfreerdp/core/nego.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfreerdp/core/nego.c b/libfreerdp/core/nego.c index 115c1f683..6148e86b9 100644 --- a/libfreerdp/core/nego.c +++ b/libfreerdp/core/nego.c @@ -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; }