summarylogtreecommitdiffstats
path: root/ssl_load_error.patch
blob: c56cce8459110d08d975b41db607223c1e29e28c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- sogo-SOGo-4.0.2/UI/MailPartViewers/UIxMailPartSignedViewer.m	2018-08-24 15:01:47.000000000 +0200
+++ sogo-SOGo-4.0.1/UI/MailPartViewers/UIxMailPartSignedViewer.m	2018-07-10 15:51:12.000000000 +0200
@@ -170,9 +170,8 @@
       if (err)
         {
           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: [NSString stringWithUTF8String: sslError]] retain];
         }
     }