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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to