diff ui/createcertlistdialog.cpp @ 473:9cd28df2c4ce

Fix D: prefix before the date
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 23 Apr 2014 16:53:47 +0000
parents 0d71ce440bcc
children 9d3880db6ba7 c495dd026d61
line wrap: on
line diff
--- a/ui/createcertlistdialog.cpp	Wed Apr 23 16:53:28 2014 +0000
+++ b/ui/createcertlistdialog.cpp	Wed Apr 23 16:53:47 2014 +0000
@@ -190,11 +190,11 @@
                                      pk_context *pk)
 {
     /* Build up the list data */
-    QByteArray listData("F:1\r\n");
+    QByteArray listData("F:1\r\nD:");
     listData.append(listDate.toString(Qt::ISODate) + "\r\n");
 
     foreach (const Certificate& cert, certs) {
-        listData.append(QString::fromLatin1("D:") + cert.base64Line() + "\r\n");
+        listData.append(cert.base64Line() + "\r\n");
     }
 
     QByteArray signature = rsaSignSHA256Hash(sha256sum(listData), pk);

http://wald.intevation.org/projects/trustbridge/