I found a solution - since the signedViewer is for S/MIME only, anyways
- it is best to omit it alltogether when OpenSSL is not in use.

This results in same behaior as most other mail clients - the Signature
is dispalyed as a "signature.asc" attachment.

See attached patch for the fix.

From: Hanno Stock <hanno.st...@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(+)

diff --git a/UI/MailPartViewers/UIxMailRenderingContext.m b/UI/MailPartViewers/UIxMailRenderingContext.m
index e2cf011..2086d96 100644
--- a/UI/MailPartViewers/UIxMailRenderingContext.m
+++ b/UI/MailPartViewers/UIxMailRenderingContext.m
@@ -192,7 +192,11 @@ static BOOL showNamedTextAttachmentsInline = NO;
 	  || [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];
     

Reply via email to