From 4d9c9cc23aa6ce2bf39e32246e740bbfb8cfb648 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Wed, 8 Jan 2020 09:42:01 -0500
Subject: [PATCH] gnutls: downgrade gnutls for iOS devices

Same thing as android. gnutls_handshake seems to take way more time after that
version

Change-Id: Ia4746f78c887450df357e0c0af712e8bf2dd288c
---
 contrib/src/gnutls/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/gnutls/rules.mak b/contrib/src/gnutls/rules.mak
index d9b57f4772..0b455ac4fa 100644
--- a/contrib/src/gnutls/rules.mak
+++ b/contrib/src/gnutls/rules.mak
@@ -3,8 +3,12 @@
 ifdef HAVE_ANDROID
 GNUTLS_VERSION := 3.6.7
 else
+ifdef HAVE_IOS
+GNUTLS_VERSION := 3.6.7
+else
 GNUTLS_VERSION := 3.6.10
 endif
+endif
 
 GNUTLS_URL := https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-$(GNUTLS_VERSION).tar.xz
 
-- 
GitLab