Fix null certificate that is not an error
This commit is contained in:
parent
41fe20a960
commit
603a6378ff
@ -590,8 +590,8 @@ BOOL certificate_read_server_certificate(rdpCertificate* certificate, BYTE* serv
|
||||
UINT32 dwVersion;
|
||||
BOOL ret;
|
||||
|
||||
if (length < 4)
|
||||
return FALSE;
|
||||
if (length < 4) /* NULL certificate is not an error see #1795 */
|
||||
return TRUE;
|
||||
|
||||
s = Stream_New(server_cert, length);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user