Mercurial > trustbridge > trustbridge
diff ui/tests/downloadertest.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 | fe2c6666b462 |
children |
line wrap: on
line diff
--- a/ui/tests/downloadertest.cpp Fri Sep 12 15:13:58 2014 +0200 +++ b/ui/tests/downloadertest.cpp Fri Sep 12 15:38:42 2014 +0200 @@ -149,9 +149,7 @@ QVERIFY(error == SSLConnection::NoConnection); } static int accept_ciphers[] = { - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, - TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384, + TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256, 0 }; @@ -162,8 +160,8 @@ QByteArray(), /* Use default testing certificate */ QDateTime::currentDateTime(), QDateTime::fromString("2010", "YYYY"), - "/users/aheinecke/development/TrustBridge-development.exe", - "/users/aheinecke/development/zertifikatsliste.txt"); + "/development/TrustBridge-development.exe", + "/development/zertifikatsliste.txt"); downloader->setCiphersuites(accept_ciphers); @@ -238,8 +236,8 @@ QByteArray(), QDateTime::currentDateTime(), // Last installed SW QDateTime::fromString("2010", "YYYY"), - QString("/users/aheinecke/zertifikatsliste.txt"), - QString("/users/aheinecke/zertifikatsliste.txt")); + QString("/zertifikatsliste.txt"), + QString("/zertifikatsliste.txt")); SETUP_SPY