comparison ui/sslconnection.cpp @ 1088:508c96e72f62

(issue124) Switch server URL and remove some RELEASE_BUILD options As the test server speaks ECDSA we do not need so much #ifndef RELEASE_BUILD options anymore.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 12 Sep 2014 15:38:42 +0200
parents 78798d3af8f0
children 2a1206932f53
comparison
equal deleted inserted replaced
1087:7191addd8a53 1088:508c96e72f62
26 mErrorState(NoError) 26 mErrorState(NoError)
27 { 27 {
28 if (certificate.isEmpty()) { 28 if (certificate.isEmpty()) {
29 #ifdef RELEASE_BUILD 29 #ifdef RELEASE_BUILD
30 /* TODO Change certificate here in case of release build */ 30 /* TODO Change certificate here in case of release build */
31 QFile certResource(":certs/intevation.de"); 31 QFile certResource(":certs/ssl-test");
32 #else 32 #else
33 QFile certResource(":certs/intevation.de"); 33 QFile certResource(":certs/ssl-test");
34 #endif 34 #endif
35 certResource.open(QFile::ReadOnly); 35 certResource.open(QFile::ReadOnly);
36 mPinnedCert = certResource.readAll(); 36 mPinnedCert = certResource.readAll();
37 certResource.close(); 37 certResource.close();
38 } 38 }

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