aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-09-16 19:50:14 +0200
committerLinus Jahn <lnj@kaidan.im>2022-09-24 18:11:58 +0200
commitb71a66f3a7e07427378a23eb42291ed3758e08b2 (patch)
treecf9597958a2112d9d83d1cc9236dfb4fccb816f4 /tests
parenteb63b18dcbb2ccdf811461a42f120e5d0ab82e88 (diff)
downloadqxmpp-b71a66f3a7e07427378a23eb42291ed3758e08b2.tar.gz
EncryptedFileSource: Move Cipher enum into QXmppGlobal
Diffstat (limited to 'tests')
-rw-r--r--tests/qxmppmessage/tst_qxmppmessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qxmppmessage/tst_qxmppmessage.cpp b/tests/qxmppmessage/tst_qxmppmessage.cpp
index a24a0b06..268ca2a8 100644
--- a/tests/qxmppmessage/tst_qxmppmessage.cpp
+++ b/tests/qxmppmessage/tst_qxmppmessage.cpp
@@ -1207,7 +1207,7 @@ void tst_QXmppMessage::testEncryptedFileSource()
QCOMPARE(encryptedSource.key(), QByteArray::fromBase64("SuRJ2agVm/pQbJQlPq/B23Xt1YOOJCcEGJA5HrcYOGQ="));
QCOMPARE(encryptedSource.iv(), QByteArray::fromBase64("T8RDMBaiqn6Ci4Nw"));
QCOMPARE(encryptedSource.httpSources().front().url(), QUrl("https://download.montague.lit/4a771ac1-f0b2-4a4a-9700-f2a26fa2bb67/encrypted.jpg"));
- QCOMPARE(encryptedSource.cipher(), QXmppEncryptedFileSource::Aes256GcmNopadding);
+ QCOMPARE(encryptedSource.cipher(), QXmpp::Aes256GcmNoPad);
QVERIFY(!encryptedSource.hashes().empty());
serializePacket(encryptedSource, xml);
}