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
95f3f0b0
Unverified
Commit
95f3f0b0
authored
Jul 10, 2020
by
IKEDA Soji
Committed by
GitHub
Jul 10, 2020
Browse files
Merge pull request #966 from ikedas/issue-963 by ikedas
Uunexpected error log "Unable to verify S/MIME signature" (#963)
parents
6aa1a06d
0185bcc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
95f3f0b0
...
...
@@ -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