mirror of
https://github.com/QuasarApp/easyssl.git
synced 2025-04-27 05:24:32 +00:00
fiw windows tests
This commit is contained in:
parent
9c9b053369
commit
820c04db17
@ -62,6 +62,7 @@ public:
|
|||||||
* @see IAsyncEncription::encript
|
* @see IAsyncEncription::encript
|
||||||
*/
|
*/
|
||||||
virtual QByteArray decrypt(const QByteArray& message, const QByteArray& key) = 0;
|
virtual QByteArray decrypt(const QByteArray& message, const QByteArray& key) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief encrypt This method encript @a message using @a key.
|
* @brief encrypt This method encript @a message using @a key.
|
||||||
* @param message This is a message that should be decripted.
|
* @param message This is a message that should be decripted.
|
||||||
|
@ -25,7 +25,11 @@ public:
|
|||||||
|
|
||||||
//test long messages
|
//test long messages
|
||||||
|
|
||||||
|
#ifdef Q_OS_UNIX
|
||||||
const int Mb = 1024 * 1024; //1 mb
|
const int Mb = 1024 * 1024; //1 mb
|
||||||
|
#else
|
||||||
|
const int Mb = 1024 * 100; //100 kb
|
||||||
|
#endif
|
||||||
testImpl(QByteArray(Mb, 'c'));
|
testImpl(QByteArray(Mb, 'c'));
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user