1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-10 12:00:57 +03:00
Commit Graph

102 Commits

Author SHA1 Message Date
cd3170fcb1 gitlab: Use wine to run tests built for Windows
When building in a cross-compiling environment, use wine to run the
tests.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-06-27 21:23:12 +02:00
9eaf55898e cmake: Added executable exension on test binaries
This is necessary when building the tests for Windows.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-06-27 21:20:26 +02:00
6026fc8036 cmake: Fix libfuzzer linking with clang6
This is always available using -fsanitize=fuzzer now.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-04-10 11:13:57 +02:00
25ff1214a4 cmake: Build ssh_server_fuzzer if enabled
Fixes T67

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-02-04 11:52:45 +01:00
778652460f add mbedtls crypto support
Summary:
This patch adds support for mbedTLS as a crypto backend for libssh.
mbedTLS is an SSL/TLS library that has been designed to mainly be used
in embedded systems.  It is loosely coupled and has a low memory
footprint.  mbedTLS also provides a cryptography library (libmbedcrypto)
that can be used without the TLS modules.
The patch is unfortunately quite big, since several new files had to
be added.
DSA is disabled at compile time, since mbedTLS doesn't support DSA
Patch review and feedback would be appreciated, and if any issues or
suggestions appear, I'm willing to work on them.

Signed-off-by: Juraj Vijtiuk <juraj.vijtiuk@sartura.hr>

Test Plan:
* The patch has been tested with a Debug and MinSizeRel build, with
libssh unit tests, client tests and the pkd tests.
* All the tests have been run with valgrind's memcheck, drd and helgrind
tools.
* The examples/samplessh client works when built with the patch.

Reviewers: asn, aris

Subscribers: simonsj

Differential Revision: https://bugs.libssh.org/D1
2017-12-28 11:17:39 +01:00
d3834f69bc cmake: Fix parsing the gcrypt version
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2017-10-12 10:16:23 +02:00
462c7726c3 cmake: Fix GCRYPT_ROOT_DIR and check correct paths
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2017-04-11 09:42:53 +02:00
2384236849 cmake: Try to fix FindArgp module
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2016-03-17 10:42:52 +01:00
7c2db045a8 cmake: detect MIT gssapi shim on osx 2016-03-14 22:27:38 +01:00
fe8fcb805c cmake: Add support for Address Sanitizer
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-05-04 15:25:17 +02:00
6c7e552509 cmake: Require cmake version 2.8.0 2015-04-10 13:32:09 +02:00
01311dd419 cmake: Fix doxygen. 2014-04-10 08:54:10 +02:00
0cb9f792b8 cmake: Update doxygen module. 2014-04-09 11:21:29 +02:00
437a39c798 cmake: Enable creation of the compile command database by default. 2014-04-04 10:03:43 +02:00
31fb4e1e69 build: remove OSX deprecated warnings for openssl 2014-02-02 21:41:32 +01:00
6fe51b13fb src: Update my mail address. 2014-01-07 16:08:23 +01:00
8bcbfb1642 cmake: Remove unused macro modules. 2014-01-07 16:07:00 +01:00
4f3ee2fc7e Fix examples compilation on OSX (libargp) 2013-11-03 13:49:27 +01:00
f565aeebfa Compile libssh with nacl if possible
Conflicts:
	DefineOptions.cmake
2013-11-03 13:18:26 +01:00
f1ec4f11e3 cmake: Add CMOCKA_ROOT_DIR with hints and paths. 2013-08-01 16:55:40 +02:00
74bbcf7e29 doc: Don't generate latex documentation. 2013-07-25 12:29:07 +02:00
26c118890f cmake: Only build with _FORTIFY_SOURCE on release builds. 2013-07-25 10:02:01 +02:00
1444d62d96 cmake: Document GSSAPI_FLAVOR_MIT and GSSAPI_FLAVOR_HEIMDAL. 2013-07-24 20:52:39 +02:00
5ba88f01e8 cmake: Rewrote FindGSSAPI.cmake. 2013-07-24 20:48:14 +02:00
c55ab44caf cmake: Update FindNSIS module. 2013-07-24 11:17:30 +02:00
cb0f886a5c cmake: Add FindGSSAPI.cmake
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-13 14:19:23 +02:00
97e7c95d21 cmake: Pass _FORTIFY_SOURCE directly to the preprocessor. 2013-07-13 13:54:00 +02:00
24e94d53e9 cmake: Fix installation path for some strange platforms. 2013-03-20 09:38:03 +01:00
5d6cab4b14 cmake: Add cmake config files for new find_package() mode. 2013-02-12 13:32:34 +01:00
afe4c92bbf cmake: Fix setting -D_FORTIFY_SOURCE=2. 2013-02-07 17:02:51 +01:00
915781381e BUG 99: Fix string function if no build type is set. 2013-01-22 16:28:25 +01:00
fb3f649c76 cmake: Only set -D_FORTIFY_SOURCE=2 if we have optimizations. 2012-12-25 17:35:07 +01:00
f2e498c7db cmake: Set GNU compiler flags also for clang. 2012-10-22 16:05:39 +02:00
c81010e2f7 test: Use cmocka instead of cmockery.
cmocka is the successor of cmockery.

http://git.cryptomilk.org/projects/cmocka.git/
2012-10-07 11:10:27 +02:00
160da5810f Finds zlib in a debug only build (windows)
Signed-off-by: Christophe Baribaud <christophe.baribaud@gmail.com>
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-09-21 09:44:19 +02:00
b7507fc85e cmake: Update FindCMokery. 2012-02-08 20:10:45 +01:00
ddcfe95bbd cmake: Update GCrypt module. 2012-02-04 20:09:51 +01:00
ca47c9b46e cmake: Make CHECK_C_COMPILER_FLAG_SSP a function. 2011-07-29 11:37:52 +02:00
20e637968a cmake: Define BSD. 2011-01-24 15:44:11 +01:00
625692f4c5 cmake: Don't use cmake 2.8.3 features. 2011-01-17 09:24:57 +01:00
a236a15c6c modules: Improved the GCrypt module. 2011-01-16 12:47:06 +01:00
cb775092bc cmake: Fixed NSIS module. 2011-01-16 12:21:58 +01:00
8d7d313498 cmake: Fixed ZLIB path checks. 2011-01-16 12:16:53 +01:00
c6e1792696 cmake: Improved the NSIS module. 2011-01-16 12:12:35 +01:00
90fc5554e1 cmake: Improved the ZLIB find module based on CMake one. 2011-01-16 11:53:37 +01:00
e579dfb342 cmake: Fixed license header of the OpenSSL module. 2011-01-16 11:51:02 +01:00
0c93914948 cmake: Improved FindOpenSSL based on CMake ones. 2011-01-16 11:30:24 +01:00
2b6fa19fe5 cmake: Fixed msvc posix warnings and unsecure functions. 2011-01-02 19:35:53 +01:00
bc2db562e5 cmake: Added missing OpenSSL directories on Windows. 2011-01-01 20:53:55 +01:00
93ce8e8ffd cmake: Added looking for zdll on Windows. 2011-01-01 20:53:55 +01:00