Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-02-23 | cmake: Check for EVP_CIPHER_CTX_new | Andreas Schneider | 1 | -0/+4 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-07 | cmake: Use configure check for CRYPTO_ctr128_encrypt | Andreas Schneider | 1 | -0/+4 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-07 | threads: Use new API call for OpenSSL CRYPTO THREADID | Andreas Schneider | 1 | -0/+3 | |
BUG: https://red.libssh.org/issues/222 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-06 | cmake: Check for io.h on Windows | Andreas Schneider | 1 | -0/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-06 | cmake: Correctly check for sys/[u]time.h | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-06 | cmake: Always check for strtoull | Andreas Schneider | 1 | -1/+1 | |
This fixes building with different compilers on Windows BUG: https://red.libssh.org/issues/225 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-05 | cmake: Correctly check for *snprintf functions on Windows | Andreas Schneider | 1 | -7/+12 | |
BUG: https://red.libssh.org/issues/205 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-03 | pki_gcrypt: Handle ECDSA keys and signatures | Justus Winter | 1 | -2/+2 | |
* ConfigureChecks.cmake: Set 'HAVE_ECC' and 'HAVE_GCRYPT_ECC' if applicable. * include/libssh/pki.h (struct ssh_key_struct): Fix type of field 'ecdsa'. (struct ssh_signature_struct): Likewise for 'ecdsa_sig'. * src/pki.c (ssh_pki_key_ecdsa_name): Relax guard now that the used function is also provided by the gcrypt backend. (ssh_signature_free): Free ecdsa signature. * src/pki_gcrypt.c (ECDSA_HEADER_{BEGIN,END}): New macros. (privatekey_string_to_buffer): Handle ECDSA keys. (pki_key_ecdsa_to_nid): New function. (pki_key_ecdsa_nid_to_gcrypt_name): Likewise. (pki_key_ecdsa_nid_to_name): Likewise. (pki_key_ecdsa_nid_to_char): Likewise. (pki_key_ecdsa_nid_from_name): Implement. (asn1_oi_to_nid): New function. (b64decode_ecdsa_privatekey): Likewise. (pki_private_key_from_base64): Handle ECDSA keys. (pki_pubkey_build_ecdsa): Implement. (pki_key_dup): Handle ECDSA keys. (pki_key_generate): Likewise. (pki_key_generate_ecdsa): Implement. (pki_key_compare): Handle ECDSA keys. (pki_publickey_to_blob): Likewise. (pki_signature_from_blob): Likewise. (pki_signature_verify): Likewise. (pki_do_sign): Likewise. (pki_do_sign_sessionid): Likewise. Signed-off-by: Justus Winter <justus@g10code.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-03-17 | cmake: Try to fix FindArgp module | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-03-14 | cmake: detect argp.h on osx | Aris Adamantiadis | 1 | -0/+4 | |
2015-12-30 | cmake: use check_symbol for (v)snprintf | pouete | 1 | -2/+3 | |
Updated how snprintf and vsnprintf are discovered by cmake. Visual studio 2015 now include it in the file stdio.h. More information here : https://msdn.microsoft.com/en-us/library/bb531344.aspx Reviewed-By: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
2015-12-24 | CMake: include CheckIncludeFiles for calls to check_include_files. | Sebastián Peyrott | 1 | -0/+1 | |
2015-10-20 | agent: Fix agent auth on big endian machines | Andreas Schneider | 1 | -0/+1 | |
BUG: https://red.libssh.org/issues/204 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-09-25 | cmake: fix EVP detection with gcc | Aris Adamantiadis | 1 | -2/+2 | |
2015-09-25 | crypto: old-fashioned aes_ctr when evp_aes_ctr is missing | Aris Adamantiadis | 1 | -0/+9 | |
2015-07-03 | cmake: Fix OpenSSL detection in non-standard path | Andreas Schneider | 1 | -6/+6 | |
This should fix the detection on Windows. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-07-03 | cmake: Fail if can't find OpenSSL aes and des headers | Andreas Schneider | 1 | -17/+25 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-04-10 | cmake: Detect network function correctly on Windows | Andreas Schneider | 1 | -11/+17 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-04-10 | cmake: Check for sys/param.h header file | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-04-10 | cmake: Check for arpa/inet.h header file | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-04-02 | cmake: Detect __func__ and __FUNCTION__ during configure step | Andreas Schneider | 1 | -0/+15 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-02-08 | buffer: detect compilers not supporting __VA_ARGS__ | Aris Adamantiadis | 1 | -0/+12 | |
2015-01-13 | cmake: Fix ntohll and htonll macro detection. | Andreas Schneider | 1 | -2/+2 | |
BUG: https://red.libssh.org/issues/164 Thanks to Ryan Schmidt! Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-12-17 | libcrypto: Fix Windows build with ssh_reseed(). | Andreas Schneider | 1 | -0/+1 | |
gettimeofday() is not available on Windows and we need it only in case of forking. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-02-16 | examples: Add ssh_server_fork example | Audrius Butkevicius | 1 | -0/+1 | |
Signed-off-by: Audrius Butkevicius <audrius.butkevicius@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-02-14 | cmake: Check for libutil.h on FreeBSD. | Andreas Schneider | 1 | -0/+1 | |
2014-02-03 | ConfigureChecks: Stop checking for CMAKE_HAVE_THREADS_LIBRARY. | Raphael Kubo da Costa | 1 | -5/+3 | |
libssh is primarily interested in whether pthreads is present and can be used. Checking for CMAKE_HAVE_THREADS_LIBRARY is not the same thing, as there are cases where pthread exists but CMAKE_HAVE_THREADS_LIBRARY is not set (for example, FreeBSD passes -DTHREADS_HAVE_PTHREAD_ARG=1 to CMake by default as a way to skip the checks for -lpthread, -lpthreads and others and tell the build system that -pthread is the one expected to be used). Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-03 | examples: fix forktty() warning on OSX | Aris Adamantiadis | 1 | -0/+1 | |
2013-10-30 | cmake: Check for isblank(). | Andreas Schneider | 1 | -0/+1 | |
2013-07-27 | cmake: Fix configure check for ntohll and htonll. | Andreas Schneider | 1 | -9/+14 | |
2013-07-24 | cmake: Rewrote FindGSSAPI.cmake. | Andreas Schneider | 1 | -2/+2 | |
2013-07-24 | cmake: Set HAVE_GETADDRINFO if we have libsocket. | Andreas Schneider | 1 | -1/+2 | |
This fixes the build on Solaris. | |||||
2013-07-23 | cmake: Check for unistd.h. | Andreas Schneider | 1 | -0/+1 | |
2013-07-23 | cmake: If we don't have gssapi libs, disable it. | Andreas Schneider | 1 | -0/+4 | |
2013-07-23 | cmake: Check for HAVE_GCC_VOLATILE_MEMORY_PROTECTION. | Andreas Schneider | 1 | -0/+12 | |
This ensures that the memset call is not optimized out by the compiler (works works with gcc and clang). | |||||
2013-07-22 | cmake: Define HAVE_NTOHLL and HAVE_HTONLL on Windows. | Andreas Schneider | 1 | -0/+2 | |
2013-07-22 | cmake: Make sure we check some functions on all platforms. | Andreas Schneider | 1 | -5/+3 | |
2013-07-22 | cmake: Check for _strtoui64() on Windows. | Andreas Schneider | 1 | -0/+2 | |
2013-07-14 | cmake: Check if we have Thread Local Storage support. | Andreas Schneider | 1 | -0/+14 | |
2012-12-03 | BUG 97: Fix strtoull() detection on serveral platforms. | Andreas Schneider | 1 | -0/+2 | |
2012-12-03 | BUG 96: Guard ntohll() and htonll prototypes correctly. | Andreas Schneider | 1 | -0/+1 | |
2012-12-03 | BUG 97: Remove obsolete hsterror(). | Andreas Schneider | 1 | -6/+0 | |
This function is pretty much obsolete on most platforms. The standard errno should be used. If it is not enough on Windows we should use WSAGetLastError() in future. | |||||
2012-10-14 | cmake: Add better check to detect -fvisibility=hidden. | Andreas Schneider | 1 | -1/+6 | |
2012-10-12 | cmake: Fix building with gcrypt support. | Andreas Schneider | 1 | -6/+9 | |
2012-09-21 | MSVC Windows and winsock2.h | Christophe Baribaud | 1 | -2/+2 | |
With Microsoft Visual Studio, winsock2.h shall be included before ws2tcpip.h Signed-off-by: Christophe Baribaud <christophe.baribaud@gmail.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2012-02-04 | cmake: Disable gcrypt ECC. | Andreas Schneider | 1 | -2/+2 | |
2012-02-04 | cmake: Enable ECC support for GCrypt 1.5.0 or newer. | Andreas Schneider | 1 | -1/+5 | |
2012-02-04 | cmake: Add a define to see if we have ecc support. | Andreas Schneider | 1 | -0/+3 | |
2011-09-23 | cmake: Fix library linking. | Andreas Schneider | 1 | -1/+0 | |
2011-09-18 | gzip: Fix zlib support. | Andreas Schneider | 1 | -4/+0 | |