28 Commits

Author SHA1 Message Date
Albert Astals Cid
f62a8ee8f7 Run clang-format
find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;

If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-09-07 02:13:47 +02:00
Albert Astals Cid
5d027c8012 tlsunittest: Fix memory leak 2020-06-22 22:53:55 +02:00
Albert Astals Cid
8b171279e9 clazy: enable qstring allocation warning 2020-02-13 01:07:24 +01:00
Albert Astals Cid
e2029649b9 clang-tidy: enable modernize-deprecated-headers and modernize-use-nullptr 2020-02-12 17:14:33 +01:00
Albert Astals Cid
dbef5838d4 Enable QT_NO_SIGNALS_SLOTS_KEYWORDS 2020-01-22 19:31:28 +01:00
Albert Astals Cid
d71f4c279b Drop Qt4 support 2020-01-19 17:19:23 +01:00
Harald Sitter
ee536fd995 Merge remote-tracking branch 'origin/v2.1' 2018-03-22 12:02:31 +01:00
Fabian Vogt
d58e20ee65 Add support for OpenSSL 1.1.0
Test Plan:
Ran the testsuite with OpenSSL 1.1.0g and 1.0.2j, all passed.
Using this code with kdeconnect and okteta successfully on my system now.

Reviewers: iromanov

Subscribers: anthonyfieroni, alonbl, heikobecker, cfeck, asturmlechner, bero, rdieter

Differential Revision: https://phabricator.kde.org/D9416
2018-01-04 20:02:38 +01:00
Ivan Romanov
159e144abf Disable missed openssl cipher suites
Fedora 26 has no them.
2017-09-30 15:45:59 +05:00
Ivan Romanov
89800d4341 tlsunittest: disable some ciphers 2017-02-06 17:29:01 +05:00
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
2cdd6c4bd1 tlsunittest: disable more ciphers 2014-09-20 01:02:52 +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
b0c8788d9a tlsunittest: don't check some cipher suites
openssl very configurable. There is no any guarantee that this
or another cipher suite will be in current building. So I just
took that Fedora cipher suites is minimal default list and
I believe that it will be true in every case.
2014-01-05 01:54:18 +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
Brad Hards
d630a8ccd2 Remove tests for some algos (mainly ephemeral Diffie Hellman)
that aren't reliably supported by OpenSSL (i.e. some versions
do, but later versions often don't).

This test will always be a bit brittle, because distros can
customise the build of OpenSSL so much.

svn path=/trunk/kdesupport/qca/; revision=707705
2007-09-02 18:47:40 +00:00
Justin Karneges
0046132348 match cmake build
svn path=/trunk/kdesupport/qca/; revision=703487
2007-08-22 16:20:58 +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
Justin Karneges
a08f4fc9a9 update based on api changes
svn path=/trunk/kdesupport/qca/; revision=653396
2007-04-13 07:17:14 +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
Brad Hards
3194ebf595 It looks like it is pretty common to compile openssl
without support for IDEA (presumably because of patents).

So avoid testing for presence of it.

svn path=/trunk/kdesupport/qca/; revision=609736
2006-12-01 22:31:40 +00:00
Brad Hards
ca11f8dab1 Merge the declarations into the .cpp, and update the
qmake buildsystem to match.

Add CMake support.

svn path=/trunk/kdesupport/qca/; revision=594737
2006-10-12 05:52:07 +00:00
Brad Hards
b045507d1d Add the start of a set of unit tests for TLS.
Also do minor cleanups of the test framework.

svn path=/trunk/kdesupport/qca/; revision=519875
2006-03-18 05:06:10 +00:00