From 3c938c8df2f6813788345dc4b64084215f3128d4 Mon Sep 17 00:00:00 2001 From: Ingo Klcker Date: Sat, 3 Jun 2006 00:18:29 +0000 Subject: [PATCH] Fix bug 128513 by properly initializing the creation time of a signature. In case of clear signed messages we can't parse the date, so don't show it. BUG:128513 svn path=/branches/KDE/3.5/kdepim/; revision=547690 --- partmetadata.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/partmetadata.h b/partmetadata.h index 49a6ee0b0..cfcc70c8a 100644 --- a/partmetadata.h +++ b/partmetadata.h @@ -35,7 +35,12 @@ namespace KMail { isEncrypted( false ), isDecryptable( false ), technicalProblem( false ), - isEncapsulatedRfc822Message( false ) {} + isEncapsulatedRfc822Message( false ) + { + creationTime.tm_year = 0; + creationTime.tm_mon = 1; + creationTime.tm_mday = 1; + } bool isSigned; bool isGoodSignature; CryptPlugWrapper::SigStatusFlags sigStatusFlags;