aboutsummaryrefslogtreecommitdiff
path: root/autotests/testolmaccount.cpp
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-02-22 13:51:51 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:34:52 +0100
commitc2836e007e2d46c0c20270b99ede5b78d2c7170b (patch)
treee235f5c3e18b0f396592fd6dd787362d9f208ffd /autotests/testolmaccount.cpp
parentea617d31cf3f72f76fd49c0a20f445a78678fe5f (diff)
downloadlibquotient-c2836e007e2d46c0c20270b99ede5b78d2c7170b.tar.gz
libquotient-c2836e007e2d46c0c20270b99ede5b78d2c7170b.zip
ssl
Diffstat (limited to 'autotests/testolmaccount.cpp')
-rw-r--r--autotests/testolmaccount.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/autotests/testolmaccount.cpp b/autotests/testolmaccount.cpp
index 91342241..eb44791a 100644
--- a/autotests/testolmaccount.cpp
+++ b/autotests/testolmaccount.cpp
@@ -165,6 +165,7 @@ void TestOlmAccount::encryptedFile()
#define CREATE_CONNECTION(VAR, USERNAME, SECRET, DEVICE_NAME) \
auto VAR = std::make_shared<Connection>(); \
+ VAR->ignoreSslErrors(true); \
(VAR) ->resolveServer("@alice:localhost:" + QString::number(443)); \
connect( (VAR) .get(), &Connection::loginFlowsChanged, this, [this, VAR ] () { \
(VAR) ->loginWithPassword( (USERNAME) , SECRET , DEVICE_NAME , ""); \