Read newline from stdio on certificate accept

This commit is contained in:
akallabeth 2020-05-20 11:57:01 +02:00
parent eb088e0812
commit 5b842bc7a7

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: