1
1
Граф коммитов

1947 Коммитов

Автор SHA1 Сообщение Дата
Andreas Schneider
8d7d313498 cmake: Fixed ZLIB path checks. 2011-01-16 12:16:53 +01:00
Andreas Schneider
c6e1792696 cmake: Improved the NSIS module. 2011-01-16 12:12:35 +01:00
Andreas Schneider
90fc5554e1 cmake: Improved the ZLIB find module based on CMake one. 2011-01-16 11:53:37 +01:00
Andreas Schneider
e579dfb342 cmake: Fixed license header of the OpenSSL module. 2011-01-16 11:51:02 +01:00
Andreas Schneider
0c93914948 cmake: Improved FindOpenSSL based on CMake ones. 2011-01-16 11:30:24 +01:00
Aris Adamantiadis
670dd17044 Test double ssh_disconnect 2011-01-15 22:50:34 +01:00
Aris Adamantiadis
b945cbca52 Fix double-connect testcase 2011-01-15 22:43:58 +01:00
Aris Adamantiadis
f8361d324e Fix torture_connect_double so it tests the right thing 2011-01-14 14:35:44 +01:00
Aris Adamantiadis
0b46f68c5f Fixed compilation without argp.h available 2011-01-13 21:21:19 +01:00
Aris Adamantiadis
2917e71aad Replaced argp support for platforms that support it
Argp is really useful, but it's not mandatory.
2011-01-13 18:34:04 +01:00
Aris Adamantiadis
551b87b65b New testcases for nonblocking ssh_connect and double ssh_connect 2011-01-13 18:09:04 +01:00
Aris Adamantiadis
5b6f048197 Use termination functions for event polling 2011-01-12 23:04:43 +01:00
Aris Adamantiadis
a17472ff2b Fix unit tests for opensolaris 2011-01-11 17:55:12 +01:00
Aris Adamantiadis
7fbb926c0b Fix getpwuid_r on opensolaris 2011-01-11 17:55:12 +01:00
Andreas Schneider
bb5f5281c0 build: Fixed build on Windows. 2011-01-11 11:07:17 +01:00
Aris Adamantiadis
9140242cbe Non-blocking mode for ssh_connect
This looks ugly. I'll see if we need to revert or change that patch later.
2011-01-10 18:01:35 +01:00
Aris Adamantiadis
bcea8921ba Change blocking parameter to a flag 2011-01-10 17:39:47 +01:00
Aris Adamantiadis
076dfb8294 Fix connection callbacks called at wrong time 2011-01-10 12:14:26 +01:00
Aris Adamantiadis
d631ce32ed All error path consistent with ssh_packet_kexinit 2011-01-10 11:24:15 +01:00
Aris Adamantiadis
4439d5c774 Log errors with ssh_log 2011-01-10 11:23:49 +01:00
Aris Adamantiadis
ac6278feb7 Fix leak when key exchange fails. 2011-01-09 22:27:55 +01:00
Andreas Schneider
d1e1103198 examples: Improve the authenticate_kbdint function.
The function excepts a predefined password now. It will try to use it if
the prompt is a Password prompt. This works in 80% of the cases.
2011-01-08 10:18:55 +01:00
Aris Adamantiadis
4f83918109 Added interesting link 2011-01-07 13:41:10 +01:00
Andreas Schneider
6b27966c9c keys: Fixed memory leaks in session signing.
Found by cppcheck - http://test.libssh.org/cppcheck-analyzer/
2011-01-06 14:32:39 +01:00
Andreas Schneider
a016d356fa dh: Fixed a memory leak in ssh_print_hexa.
Found by cppcheck - http://test.libssh.org/cppcheck-analyzer/
2011-01-06 14:25:35 +01:00
Andreas Schneider
61852635b5 tests: Moved assert to the write place in torture_keyfiles.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 11:44:02 +01:00
Andreas Schneider
184f1e1706 tests: Assert if ssh_get_random failed in torture_rand_thread.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:15:01 +01:00
Andreas Schneider
dfa01d0862 examples: Use the src mode in scp do_copy function.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:15:01 +01:00
Andreas Schneider
82547867eb options: Remove unsused getopt option.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:15:01 +01:00
Andreas Schneider
7d9f889911 tests: Added missing asserts in torture_keyfiles.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:15:01 +01:00
Andreas Schneider
13ece2a2f8 messages: Added missing NULL pointer checks.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:04:12 +01:00
Aris Adamantiadis
e57d5a45b9 Fix the missing returns in C++ wrapper 2011-01-05 21:14:27 +01:00
Andreas Schneider
ec12da273e tests: Fixed the segfault in torture_knownhosts. 2011-01-04 23:10:01 +01:00
Aris Adamantiadis
fdffa42c02 Fix "SSH_KEXINIT received in wrong state" race
Setting the flag before doing any IO
2011-01-04 16:59:54 +01:00
Andreas Schneider
d679d5d7ef poll: Ensure that the poll handle and ctx is zeroed. 2011-01-03 09:07:02 +01:00
Andreas Schneider
2464a25de7 tests: Fixed a build warning introduced before. 2011-01-03 09:02:34 +01:00
Andreas Schneider
e12253168c tests: Call init and finalize in client torture tests. 2011-01-03 08:46:14 +01:00
Andreas Schneider
1540dad17f tests: Added more openssl valgrind suppressions. 2011-01-03 07:51:46 +01:00
Andreas Schneider
350838d1b5 messages: Fixed cast warnings on Windows. 2011-01-02 19:35:54 +01:00
Andreas Schneider
f23880ddee base64: Added casts to GET macros to fix build warnings. 2011-01-02 19:35:54 +01:00
Andreas Schneider
be3e5c35cf scp: Fixed a build warning on Windows. 2011-01-02 19:35:54 +01:00
Andreas Schneider
73c0cd050e poll: Fixed a build warning on Windows. 2011-01-02 19:35:53 +01:00
Andreas Schneider
c54d6b7f8a bind: Added include file for close function on Windows. 2011-01-02 19:35:53 +01:00
Andreas Schneider
2b6fa19fe5 cmake: Fixed msvc posix warnings and unsecure functions. 2011-01-02 19:35:53 +01:00
Aris Adamantiadis
3f538b3ddd Call ssh_init()/ssh_finalize bf/af each testcase 2011-01-02 17:25:51 +01:00
Aris Adamantiadis
2faaefade9 Revert "tests: Call ssh_init() and ssh_finalize() before we run the tests."
Reason: breaks test_rand, because threading has to be initialized
before ssh_init()

This reverts commit ef1866db76.
2011-01-02 17:15:03 +01:00
Andreas Schneider
ef1866db76 tests: Call ssh_init() and ssh_finalize() before we run the tests. 2011-01-02 09:19:53 +01:00
Andreas Schneider
d4072082d0 tests: More openssl valgrind suppressions. 2011-01-02 09:10:42 +01:00
Andreas Schneider
a7237e8cea tests: Updated the valgrind suppressions file. 2011-01-01 22:13:03 +01:00
Andreas Schneider
bc2db562e5 cmake: Added missing OpenSSL directories on Windows. 2011-01-01 20:53:55 +01:00