Fix signatures not being verified correctly.

Patch by Till, thanks!

MERGE: 4.4

svn path=/branches/kdepim/enterprise4/kdepim/; revision=976996
wilder-work
Thomas McGuire 17 years ago
parent 94b9cb36af
commit 89494bf41a
  1. 4
      objecttreeparser.cpp

@ -481,7 +481,6 @@ namespace KMail {
// PENDING(marc) cryptProto = 0 here?
} else {
QByteArray plainData = cleartext;
plainData.resize( cleartext.size() - 1 );
VerifyDetachedBodyPartMemento * newM
= new VerifyDetachedBodyPartMemento( job, cryptProto->keyListJob(), signaturetext, plainData );
if ( allowAsync() ) {
@ -541,8 +540,7 @@ namespace KMail {
if ( m ) {
result = m->verifyResult();
const QByteArray & plainData = m->plainText();
cleartext = QByteArray( plainData.data(), plainData.size() + 1 );
cleartext = m->plainText();
messagePart.auditLogError = m->auditLogError();
messagePart.auditLog = m->auditLogAsHtml();
key = m->signingKey();

Loading…
Cancel
Save