4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-09 17:29:33 +00:00

20 Commits

Author SHA1 Message Date
Ivan Romanov
ac8b8acd37 dropped fixpaths.include
Use qt.conf to set plugin paths for unittests and qcatool in buildtree
2014-09-25 14:27:44 +06:00
Ivan Romanov
9504d1c8e0 cmake: put all runtime to bin when compiling
The most it is need for windows where no rpath and all dll's must be
in the same dir (or in PATH environment)
2014-02-02 02:35:55 +06:00
Ivan Romanov
6d690c0070 Build static QCA
Added new cmake variable SHARED_LIBRARY. By default is on.
When it is off QCA library, plugins, tools, examples and unittests
will be built as static. Also if is used static Qt plugins will be
built as static. Tested with Qt4.
2014-01-02 03:50:18 +06:00
Ivan Romanov
9462469bb5 dropped bat, qconf and qmake rules
Now cmake rules fully works.
2013-08-26 00:55:17 +06:00
Ivan Romanov
13d0dc5e6d added cmake variable QCA_LIB_SUFFIX
QCA_LIB_SUFFIX intended to replace workaround
3 major version. For building for Qt5 can be used
-DQCA_LIB_SUFFIX=qt5 for example. Result will be
named libqca2-qt5.so.2.0.3 library for Linux.
Also this suffix will be applied for qca2 pkg config file,
qcatool2 binary and qcatool2 manpage.

I hope that is a good way to resolve the building conflict
against qt4 and qt5.
2013-08-26 00:55:01 +06:00
Ivan Romanov
f2e705c9dd updated certs in cms unittests again 2013-08-07 18:31:25 +06:00
Ivan Romanov
1c0a8d987e updated certificates in smc unit tests 2013-08-01 22:37:09 +06:00
Brad Hards
f1b60f1370 Update the certificates / keys used for testing Cryptographic
Message Syntax. The previous cert was from openvalidation.org,
but had expired.

svn path=/trunk/kdesupport/qca/; revision=690743
2007-07-22 04:18:42 +00:00
Brad Hards
6302b633dc Change the target for the qmake/qconf based unit tests to be
"make test", to match cmake.


svn path=/trunk/kdesupport/qca/; revision=685629
2007-07-09 10:52:52 +00:00
Justin Karneges
6152c977c0 follow qca-openssl -> qca-ossl rename
svn path=/trunk/kdesupport/qca/; revision=681691
2007-06-29 21:30:22 +00:00
Justin Karneges
5c6439a6c1 by default, all unittests/examples are console without a mac.app bundle
svn path=/trunk/kdesupport/qca/; revision=656265
2007-04-20 20:08:47 +00:00
Alon Bar-Lev
9f9f2d05d6 QSecureArray/QBigInteger -> QCA::SecureArray/QCA::BigInteger fixups
svn path=/trunk/kdesupport/qca/; revision=653605
2007-04-13 19:19:18 +00:00
Justin Karneges
e6a4a57edd update to build against the right qca lib name
svn path=/trunk/kdesupport/qca/; revision=648311
2007-03-30 23:42:53 +00:00
Brad Hards
131bf8eaac Add automated unittesting support. Now, you can
just "make test" and it will run the appropriate
tests.

svn path=/trunk/kdesupport/qca/; revision=609827
2006-12-02 11:53:32 +00:00
André Wöbbeking
07197dc54e -pedantic
svn path=/trunk/kdesupport/qca/; revision=608497
2006-11-27 18:17:05 +00:00
Brad Hards
9fb4705fa6 General update to the CMS test.
1. Merge the .h into the .cpp
2. Update the qmake buildsystem to match
3. Add CMake support
4. Update the certificates, which had expired. Once
again, I'm using the test certs from http://openvalidation.org.

svn path=/trunk/kdesupport/qca/; revision=594720
2006-10-12 04:24:55 +00:00
Brad Hards
ea463b959b Unit tests for the "message" mode for Cryptographic
Message Syntax.

svn path=/trunk/kdesupport/qca/; revision=539588
2006-05-11 02:07:34 +00:00
Brad Hards
ab309e3be9 Update the CMS unit test to test signing and
verifying as well. We now need the root certificate
for the verification.

svn path=/trunk/kdesupport/qca/; revision=529415
2006-04-13 11:32:55 +00:00
Brad Hards
51a2ef6a3e OK, it turns out that when you reset(), you have
to put the keys/certs back in. With that, it stops
asserting. Then it just fails to compare the messages.
If you encrypt the same data, with the same certs,
twice, you don't get the same result each time.

So I added the decrypt part, including re-use, and
checked that if you encrypt the same data twice, then
each decrypt produces the same result, and that result
is exactly what you started with. The test now passes.

svn path=/trunk/kdesupport/qca/; revision=529009
2006-04-12 11:48:19 +00:00
Brad Hards
76c1cff1b2 Start of a unit test case for Cryptographic
Message Syntax SecureMessage.

At the moment, it assert()s in the repeated use
of a SecureMessage. Until that is sorted out, it
can't be added to the full test suite.

svn path=/trunk/kdesupport/qca/; revision=528990
2006-04-12 10:20:04 +00:00