diff ui/sslconnection.cpp @ 1387:c64b6c56ce96 0.9.8

(issue95) Change keys for release build. Fix release build usage.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 15 Jan 2015 16:46:36 +0100
parents 2a1206932f53
children
line wrap: on
line diff
--- a/ui/sslconnection.cpp	Thu Jan 15 16:14:35 2015 +0100
+++ b/ui/sslconnection.cpp	Thu Jan 15 16:46:36 2015 +0100
@@ -26,12 +26,8 @@
     mErrorState(NoError)
 {
     if (certificate.isEmpty()) {
-#ifdef RELEASE_BUILD
-        /* TODO (issue95) Change certificate here in case of release build */
-        QFile certResource(":certs/ssl-test");
-#else
-        QFile certResource(":certs/ssl-test");
-#endif
+        QFile certResource(":certs/ssl-certificate");
+
         certResource.open(QFile::ReadOnly);
         mPinnedCert = certResource.readAll();
         certResource.close();

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