Raphael Kubo da Costa
4e04ec8bf5
threads: Be less strict when deciding whether to build libssh_threads.
...
As mentioned in the previous commit, there are cases where
CMAKE_HAVE_THREADS_LIBRARY is not set and pthreads _is_ being used: one can
pass -DTHREADS_HAVE_PTHREAD_ARG=1 to CMake directly so that it just passes
-pthread to the compiler/linker and does not set CMAKE_HAVE_THREADS_LIBRARY.
Since we are only interested in knowing whether any threading library has
been found, we should use CMAKE_THREAD_LIBS_INIT instead (Threads_FOUND
would also work).
Note that, at the moment, there is only a pthreads backend available in
threads/, so if it is not found configuration will fail because CMake will
try to create a library from an empty set of source files.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2014-02-03 14:38:39 +01:00
Aris Adamantiadis
c5ef5ed18f
curve25519: include reference implementation
2013-11-03 14:58:10 +01:00
Aris Adamantiadis
4cb6afcbd4
kex: implement curve25519-sha256@libssh.org
2013-09-27 15:32:44 +02:00
Andreas Schneider
5ba88f01e8
cmake: Rewrote FindGSSAPI.cmake.
2013-07-24 20:48:14 +02:00
Andreas Schneider
1663917f71
cmake: Make GSSAPI optional.
2013-07-13 15:48:49 +02:00
Aris Adamantiadis
6c26a23cf4
build: build with gssapi if detected
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2013-07-13 14:19:23 +02:00
Aris Adamantiadis
4c99f5de4d
GSSAPI: added stub
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2013-07-13 14:11:26 +02:00
Andreas Schneider
ddcfe95bbd
cmake: Update GCrypt module.
2012-02-04 20:09:51 +01:00
Andreas Schneider
8a3b02f68d
cmake: Fix library linking.
2011-09-23 08:00:58 +02:00
Andreas Schneider
5083742192
packet: Move packet callbacks to packet_cb.c.
2011-09-18 21:37:18 +02:00
Andreas Schneider
dc42a1757f
gzip: Fix zlib support.
2011-09-18 21:37:18 +02:00
Andreas Schneider
b785014a15
crypt: Rename to packet_crypt.
2011-09-18 21:37:17 +02:00
Andreas Schneider
e7009fe8f3
priv: Create crc32.h.
...
As crc32 is only needed by SSHv1, build it only with SSHv1.
2011-09-18 21:37:17 +02:00
Andreas Schneider
bf72440eff
kex: Split out SSHv1 functions to kex1.c.
2011-09-10 11:03:46 +02:00
Andreas Schneider
fedfbf9563
keys: Remove obsolete keys.c.
2011-08-30 12:15:20 +02:00
Andreas Schneider
7c28d0ce6d
pki: Compile pki_gcrypt.c only if we need it.
2011-08-28 14:29:17 +02:00
Andreas Schneider
6ccb3f7a82
pki: Add pki_crypto.c.
2011-08-08 15:28:31 +02:00
Andreas Schneider
37b80e9261
pki: Move keyfiles to pki_gcrypt.c.
2011-08-08 15:28:31 +02:00
Aris Adamantiadis
c5a998f47a
[crypto] initial support for ecdh-sha2-nistp256
...
Works with openssl
Still requires work for libgcrypt and other modes
2011-06-13 13:46:34 +02:00
Andreas Schneider
1880ef54d2
cmake: Fix static .lib overwriting on Windows.
2011-06-01 14:52:27 +02:00
Aris Adamantiadis
a053d819a3
Fixed warnings on MacosX with Xcode4
2011-05-20 14:31:13 +02:00
Andreas Schneider
50a119dd0a
misc: Added multiplatform ssh_getpass() fuction.
2011-01-24 13:55:05 +01:00
Andreas Schneider
80d7ccb522
cmake: Added missing include dirs for libssh.
2010-12-29 20:18:18 +01:00
Andreas Schneider
57d752a1c3
include: Only require LIBSSH_STATIC on Windows.
2010-12-10 20:02:15 +01:00
Andreas Schneider
ef1cfbea70
build: Use the same name for static and shared library.
2010-12-10 20:00:23 +01:00
Aris Adamantiadis
ea4aa26dbb
Split ssh_bind functions in a new .c file
2010-10-20 16:54:22 +02:00
Andreas Schneider
b391a7603a
pki: Create a file for known_hosts functions.
2010-09-28 19:09:29 +02:00
Andreas Schneider
45b551d4f7
build: Remove unneeded include directories.
2010-09-28 19:08:11 +02:00
Andreas Schneider
fbe102bada
threads: Build a libssh threading library.
2010-09-06 15:17:03 +02:00
Andreas Schneider
f7842e3a4b
misc: Rename libssh/ to src/
2010-09-06 14:28:38 +02:00