[Pkg-sogo-maintainers] Bug#914524: Quick-and-Dirty fix that makes the problem go away

Nis Wechselberg enbewe+debian at enbewe.de
Sat Nov 24 17:12:55 GMT 2018


Greetings,

to get our sogo running, and to verify that the gnutls/openssl issue is
in fact the main culprit, I did this quick-and-dirty workaround:

--- sogo-4.0.4.orig/UI/MailPartViewers/UIxMailPartSignedViewer.m
+++ sogo-4.0.4/UI/MailPartViewers/UIxMailPartSignedViewer.m
@@ -169,11 +169,12 @@
       if (err)
         {
 #ifdef HAVE_GNUTLS
-          const char* sslError;
-         ERR_load_crypto_strings();
-          SSL_load_error_strings();
-          sslError = ERR_reason_error_string(err);
-          validationMessage = [[self labelForKey: [NSString
stringWithUTF8String: sslError ? sslError : @"No error information
available"]] retain];
+//          const char* sslError;
+//       ERR_load_crypto_strings();
+//          SSL_load_error_strings();
+//          sslError = ERR_reason_error_string(err);
+//          validationMessage = [[self labelForKey: [NSString
stringWithUTF8String: sslError ? sslError : @"No error information
available"]] retain];
+         validationMessage = [[self labelForKey: @"No error information
available"] retain];
 #elif OPENSSL_VERSION_NUMBER < 0x10100000L
           const char* sslError;
          ERR_load_crypto_strings();

With this patch sogo starts again without errors and the mail ui loads.

Regards,
Nis Wechselberg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-sogo-maintainers/attachments/20181124/2b4e123b/attachment.sig>


More information about the Pkg-sogo-maintainers mailing list