changeset 473:9cd28df2c4ce

Fix D: prefix before the date
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 23 Apr 2014 16:53:47 +0000
parents cf25bb040186
children bcae22d57e67
files ui/createcertlistdialog.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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/