From e6d0a3b2a992ba9ca2acd9bfe87c55404bfbef49 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Tue, 8 Apr 2014 22:48:17 +0300 Subject: [PATCH] remove unneeded check --- libfreerdp/core/certificate.c | 6 ------ 1 file changed, 6 deletions(-) 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;