remove unneeded check

This commit is contained in:
Maks Naumov 2014-04-08 22:48:17 +03:00
parent c230fae097
commit e6d0a3b2a9

View File

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