diff options
author | Deon Spengler | 2018-10-11 09:36:01 +0200 |
---|---|---|
committer | Deon Spengler | 2018-10-11 09:36:01 +0200 |
commit | 01ae1c6038c1e62d06496839744a63b04f9f9350 (patch) | |
tree | 37335e08e0f2dca86fced05026b6f91fada08554 /sogo-bugfix_4566.patch | |
parent | 590648666059a3a8830ce4003bd5da396ad1c4bb (diff) | |
download | aur-01ae1c6038c1e62d06496839744a63b04f9f9350.tar.gz |
Sogo bugfix-4566
Diffstat (limited to 'sogo-bugfix_4566.patch')
-rw-r--r-- | sogo-bugfix_4566.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sogo-bugfix_4566.patch b/sogo-bugfix_4566.patch new file mode 100644 index 000000000000..4286394ca0dc --- /dev/null +++ b/sogo-bugfix_4566.patch @@ -0,0 +1,24 @@ +diff -Naurp SOGo-4.0.2-orig/UI/MailPartViewers/UIxMailPartSignedViewer.m SOGo-4.0.2/UI/MailPartViewers/UIxMailPartSignedViewer.m +--- SOGo-4.0.2-orig/UI/MailPartViewers/UIxMailPartSignedViewer.m 2018-10-10 23:32:06.753085278 -0500 ++++ SOGo-4.0.2/UI/MailPartViewers/UIxMailPartSignedViewer.m 2018-10-10 23:33:04.864737333 -0500 +@@ -169,10 +169,20 @@ + + if (err) + { ++# ifdef HAVE_GNUTLS + 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]; ++#elseif (OPENSSL_VERSION < 0x01010001f) ++ ERR_load_crypto_strings(); ++ SSL_load_error_strings(); ++ sslError = ERR_reason_error_string(err); ++ validationMessage = [[self labelForKey: [NSString stringWithUTF8String: sslError]] retain]; ++# else ++ validationMessage = [[self labelForKey: [NSString stringWithUTF8String: sslError]] retain]; ++#endif /* HAVE_GNUTLS */ ++ + } + } + |