1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Hanno Stock <hanno.stock@indurad.com>
Date: Tue, 30 Jul 2019 16:32:59 +0200
Subject: Omit signedViewer altogether when not using openssl
---
UI/MailPartViewers/UIxMailRenderingContext.m | 4 ++++
1 file changed, 4 insertions(+)
Index: sogo/UI/MailPartViewers/UIxMailRenderingContext.m
===================================================================
--- sogo.orig/UI/MailPartViewers/UIxMailRenderingContext.m
+++ sogo/UI/MailPartViewers/UIxMailRenderingContext.m
@@ -196,7 +196,11 @@ static BOOL showNamedTextAttachmentsInli
|| [st isEqualToString: @"appledouble"])
return [self mixedViewer];
else if ([st isEqualToString: @"signed"])
+#ifdef HAVE_OPENSSL
return [self signedViewer];
+#else
+ return [self mixedViewer];
+#endif
else if ([st isEqualToString: @"alternative"])
return [self alternativeViewer];
|