diff --git a/libfreerdp/core/certificate.c b/libfreerdp/core/certificate.c index cf7331274..487dacab5 100644 --- a/libfreerdp/core/certificate.c +++ b/libfreerdp/core/certificate.c @@ -590,12 +590,6 @@ BOOL certificate_read_server_certificate(rdpCertificate* certificate, BYTE* serv UINT32 dwVersion; BOOL ret; - if (length < 1) - { - DEBUG_CERTIFICATE("null server certificate\n"); - return FALSE; - } - if (length < 4) return FALSE;