forked from pool/freerdp
- Added freerdp-bug-6205.patch to fix reading newline on certificate accept gh#FreeRDP/FreeRDP#6205 - Added freerdp-bug-6175.patch to fix Certificate Checking Recently Broke gh#FreeRDP/FreeRDP#6148 - Added freerdp-bug-6207.patch to fix Abort on first possible certificate validation error gh#FreeRDP/FreeRDP#6207 OBS-URL: https://build.opensuse.org/request/show/807754 OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/freerdp?expand=0&rev=100
32 lines
737 B
Diff
32 lines
737 B
Diff
From 5b842bc7a78621218b1179923c002d32c41f15fe Mon Sep 17 00:00:00 2001
|
|
From: akallabeth <akallabeth@posteo.net>
|
|
Date: Wed, 20 May 2020 11:57:01 +0200
|
|
Subject: [PATCH] Read newline from stdio on certificate accept
|
|
|
|
---
|
|
client/common/client.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/client/common/client.c b/client/common/client.c
|
|
index 1f44da41a3..380d7de929 100644
|
|
--- a/client/common/client.c
|
|
+++ b/client/common/client.c
|
|
@@ -467,14 +467,17 @@ static DWORD client_cli_accept_certificate(rdpSettings* settings)
|
|
{
|
|
case 'y':
|
|
case 'Y':
|
|
+ fgetc(stdin);
|
|
return 1;
|
|
|
|
case 't':
|
|
case 'T':
|
|
+ fgetc(stdin);
|
|
return 2;
|
|
|
|
case 'n':
|
|
case 'N':
|
|
+ fgetc(stdin);
|
|
return 0;
|
|
|
|
default:
|