From 9722c904bbf501a74e8c3d742f97082b81a7a460 Mon Sep 17 00:00:00 2001
From: Ninassi Benjamin <benjamin.ninassi@inria.fr>
Date: Tue, 26 Mar 2019 16:24:23 +0100
Subject: [PATCH] removint certificate check for logo

---
 src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php b/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php
index 0d434a9..676f621 100644
--- a/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php
+++ b/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php
@@ -114,6 +114,7 @@ class VerifyStructuresLogoCommand extends ContainerAwareCommand
     \curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
     \curl_setopt($ch, CURLOPT_ENCODING, "");
     \curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
+    \curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
     \curl_exec($ch);
     $code = \curl_getinfo($ch, CURLINFO_HTTP_CODE);
 
-- 
GitLab