1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/www/sogo/files/patch-UI-MailPartViewers_UIxMailPartEncryptedViewer.m
Jose Alonso Cardenas Marquez 6cdcd2657d - New port: www/sogo
SOGo is a fully supported and trusted groupware server with a focus on
scalability and open standards. It provides a rich AJAX-based Web
interface and supports multiple native clients through the use of
standard protocols such as CalDAV, CardDAV and GroupDAV.

WWW: https://sogo.nu/

PR:		249370
Submitted by:	Lars Liedtke <liedtke  at  punkt.de>
2020-12-24 17:50:04 +00:00

19 lines
807 B
Objective-C

--- UI/MailPartViewers/UIxMailPartEncryptedViewer.m 2019-12-09 16:41:38.841316000 -0500
+++ UI/MailPartViewers/UIxMailPartEncryptedViewer.m 2019-12-09 16:42:17.792368000 -0500
@@ -171,13 +171,13 @@
if (err)
{
#ifdef HAVE_GNUTLS
- const char* sslError;
+ NSString* 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];
#elif OPENSSL_VERSION_NUMBER < 0x10100000L
- const char* sslError;
+ NSString* sslError;
ERR_load_crypto_strings();
SSL_load_error_strings();
sslError = ERR_reason_error_string(err);