Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
(fix) avoid displaying empty signed emails when using GNU TLS (fixes …
…#4433)
  • Loading branch information
extrafu committed Aug 1, 2018
1 parent b98ec5c commit 5a48fca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -9,6 +9,7 @@ Enhancements

Bug fixes
- [core] handle multi-valued mozillasecondemail attribute mapping
- [core] avoid displaying empty signed emails when using GNU TLS (#4433)
- [web] improve popup window detection in message viewer (#4518)

4.0.1 (2018-07-10)
Expand Down
3 changes: 2 additions & 1 deletion UI/MailPartViewers/UIxMailPartSignedViewer.m
Expand Up @@ -170,8 +170,9 @@ - (void) _processMessage
if (err)
{
ERR_load_crypto_strings();
SSL_load_error_strings();
sslError = ERR_reason_error_string(err);
validationMessage = [[self labelForKey: [NSString stringWithUTF8String: sslError]] retain];
validationMessage = [[self labelForKey: [NSString stringWithUTF8String: sslError ? sslError : "(no error information available)"]] retain];
}
}

Expand Down

0 comments on commit 5a48fca

Please sign in to comment.