Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
0185bcc8
Commit
0185bcc8
authored
Jun 26, 2020
by
IKEDA Soji
Browse files
Uunexpected error log "Unable to verify S/MIME signature" (#963)
parent
0fa53762
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
0185bcc8
...
...
@@ -1301,7 +1301,7 @@ sub check_smime_signature {
($Conf::Conf{'cafile'}, $Conf::Conf{'capath'}));
};
unless (eval { $smime->check($self->as_string) }) {
$log
->
syslog
('
err
',
'
%s: Unable to verify S/MIME signature: %s
',
$log->syslog('
info
', '%s: Unable to verify S/MIME signature: %s',
$self, $EVAL_ERROR);
return undef;
}
...
...
@@ -1331,7 +1331,7 @@ sub check_smime_signature {
last if $certs{'both'} or ($certs{'sign'} and $certs{'enc'});
}
unless ($certs{both} or $certs{sign} or $certs{enc}) {
$log
->
syslog
('
err
',
'
%s: Could not extract certificate for %s
',
$log->syslog('
info
', '%s: Could not extract certificate for %s',
$self, $sender);
return undef;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment