changeset 356:67b471c4d1fc

Default for loaded certificates from file to install
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Apr 2014 16:23:29 +0200
parents 5f1494fab517
children d56f952ba817
files ui/certificate.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ui/certificate.cpp	Thu Apr 10 16:03:23 2014 +0200
+++ b/ui/certificate.cpp	Thu Apr 10 16:23:29 2014 +0200
@@ -75,7 +75,8 @@
 
     mValid = !mSubjectCN.isEmpty();
 
-    mBaseLine = derData.toBase64();
+    /* Default is installation for new certificates */
+    mBaseLine = QString::fromLatin1("I:") + derData.toBase64();
 }
 
 Certificate::Certificate(const QString& b64Line) :

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