remove unneeded check
This commit is contained in:
parent
c230fae097
commit
e6d0a3b2a9
@ -590,12 +590,6 @@ BOOL certificate_read_server_certificate(rdpCertificate* certificate, BYTE* serv
|
|||||||
UINT32 dwVersion;
|
UINT32 dwVersion;
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
|
||||||
if (length < 1)
|
|
||||||
{
|
|
||||||
DEBUG_CERTIFICATE("null server certificate\n");
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (length < 4)
|
if (length < 4)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user