File: 0007-Do-not-use-OpenSSL-when-we-are-configured-to-use-Gnu.patch

package info (click to toggle)
sogo 5.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 87,916 kB
  • sloc: objc: 114,994; javascript: 75,438; sh: 2,330; ansic: 2,041; perl: 861; python: 779; sql: 285; makefile: 167; php: 43; xml: 27
file content (30 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Jeroen Dekkers <jeroen@dekkers.ch>
Date: Sun, 13 Jan 2019 11:52:23 +0100
Subject: Do not use OpenSSL when we are configured to use GnuTLS

---
 UI/MailPartViewers/UIxMailPartSignedViewer.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: sogo/UI/MailPartViewers/UIxMailPartSignedViewer.m
===================================================================
--- sogo.orig/UI/MailPartViewers/UIxMailPartSignedViewer.m
+++ sogo/UI/MailPartViewers/UIxMailPartSignedViewer.m
@@ -18,7 +18,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#if defined(HAVE_OPENSSL) || defined(HAVE_GNUTLS)
+#ifdef HAVE_OPENSSL
 #include <openssl/bio.h>
 #include <openssl/err.h>
 #include <openssl/cms.h>
@@ -46,7 +46,7 @@
 @implementation UIxMailPartSignedViewer : UIxMailPartMixedViewer
 
 
-#if defined(HAVE_OPENSSL) || defined(HAVE_GNUTLS)
+#ifdef HAVE_OPENSSL
 - (BOOL) supportsSMIME
 {
   return YES;