From 820c04db170477ca4bd7692064df8ddaa1bad44e Mon Sep 17 00:00:00 2001 From: EndrII Date: Tue, 18 Jul 2023 22:01:06 +0200 Subject: [PATCH] fiw windows tests --- src/lib/src/public/easyssl/icrypto.h | 1 + tests/units/cryptotest.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/lib/src/public/easyssl/icrypto.h b/src/lib/src/public/easyssl/icrypto.h index eb9d5f7..067ff5e 100644 --- a/src/lib/src/public/easyssl/icrypto.h +++ b/src/lib/src/public/easyssl/icrypto.h @@ -62,6 +62,7 @@ public: * @see IAsyncEncription::encript */ virtual QByteArray decrypt(const QByteArray& message, const QByteArray& key) = 0; + /** * @brief encrypt This method encript @a message using @a key. * @param message This is a message that should be decripted. diff --git a/tests/units/cryptotest.h b/tests/units/cryptotest.h index 56e166f..5b5b048 100644 --- a/tests/units/cryptotest.h +++ b/tests/units/cryptotest.h @@ -25,7 +25,11 @@ public: //test long messages +#ifdef Q_OS_UNIX const int Mb = 1024 * 1024; //1 mb +#else + const int Mb = 1024 * 100; //100 kb +#endif testImpl(QByteArray(Mb, 'c')); } ;