Merge pull request #6208 from akallabeth/accept_cert_io

Read newline from stdio on certificate accept
This commit is contained in:
Kobi 2020-05-25 13:25:39 +03:00 committed by GitHub
commit 0cb7ada6de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: