Unverified Commit 95f3f0b0 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
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
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment