summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* examples: cast arguments of connect(2)Aris Adamantiadis2015-02-141-1/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* torture: fix includes for freebsd10Aris Adamantiadis2015-02-141-1/+3
|
* tests: torture-misc: check for NULL return codesAris Adamantiadis2015-02-121-3/+17
| | | | | Use the LOGNAME environment variable if USER is not set, as it sometimes happens in cron jobs.
* tests: workaround for compiling with older cmockaAris Adamantiadis2015-02-121-0/+6
|
* pki crypto: expose new ssh_pki_key_ecdsa_name APIJon Simons2014-05-071-10/+142
| | | | | | | | | | | | | Enable retrieving the "ecdsa-sha2-nistpNNN" name of ECDSA keys with a new 'ssh_pki_key_ecdsa_name' API. This gives more information than the 'ssh_key_type_to_char' API, which yields "ssh-ecdsa" for ECDSA keys. The motivation is that this info is useful to have in a server context. The torture_pki unit test is updated to include the new API, and a few more passes are added to additionally test 384 and 521-bit keys. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* tests: torture_connect: add test for user provided socketLuka Perkov2014-03-271-0/+25
| | | | | | Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 9423a3a065c947ed5ff89da615fbd6ad7f61f60a)
* tests: torture_connect: fix coding styleLuka Perkov2014-03-271-8/+7
| | | | | | Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 0c5d4954a78714c35e18fef9ef1010b3f53ee094)
* tests: Check the the ecdsa_nid is the same.Andreas Schneider2014-03-271-0/+2
| | | | (cherry picked from commit fbf73ede1eb4226ebe54698fefffb38ecd8f090b)
* tests: Add test case for bug #147Alan Dunn2014-03-271-0/+34
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 577840d7f72a3c69c09f2cb477b2c46eb2831f81)
* knownhosts: detect variations of ecdsaAris Adamantiadis2014-02-051-10/+10
|
* tests: lines lost during last cherry-pick mergeAris Adamantiadis2014-02-041-0/+17
|
* knownhosts: add test case for bug #138Aris Adamantiadis2014-02-041-0/+43
|
* known_hosts: add ssh_knownhosts_algorithms()Aris Adamantiadis2014-02-041-0/+132
| | | | | | | | Goal of that function is to test the preferred key exchange methods based on what's available in the known_hosts file Conflicts: tests/client/torture_knownhosts.c
* Test change to ssh_bind_accept_fdAlan Dunn2014-01-211-0/+139
| | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* src: Update my mail address.Andreas Schneider2014-01-072-2/+2
|
* tests: avoid reading uninitialized bytesAris Adamantiadis2014-01-071-2/+2
|
* examples: Make sure buffer is initialized.Andreas Schneider2014-01-071-1/+1
|
* test: fixed torture_auth_none conditionAris Adamantiadis2014-01-061-2/+2
|
* test: test case for async auth_noneAris Adamantiadis2014-01-061-0/+59
| | | | This test currently fails
* tests: auth_agent_nonblocking should run in nonblockingAris Adamantiadis2014-01-061-1/+2
|
* tests: use LC_LIBSSH instead of LANG for env tests.Aris Adamantiadis2014-01-061-2/+2
| | | | | LANG is stripped and replaced on many distros and LC_* is accepted by default on debian
* tests: Fix non-blocking auth tests.Andreas Schneider2013-12-151-6/+15
| | | | | | The ssh_userauth_none() call should already be non-blocking. However this this function is broken in non-blocking mode. It should reveal the existing bug.
* tests: Use new auth API in the torture_session test.Andreas Schneider2013-12-151-2/+3
|
* tests: Use new auth API in the torture_auth test.Andreas Schneider2013-12-151-10/+19
|
* tests: Fix pki test with gcrypt.Andreas Schneider2013-12-111-0/+4
|
* tests: Try to fix torture_forward.Andreas Schneider2013-12-041-4/+4
|
* tests: Fix memory leaks.Andreas Schneider2013-12-041-0/+9
|
* tests: Add torture_pki_write_privkey_ecdsa test.Andreas Schneider2013-11-271-0/+44
|
* tests: Add torture_pki_write_privkey_dsa test.Andreas Schneider2013-11-271-0/+40
|
* tests: Add torture_pki_write_privkey_rsa test.Andreas Schneider2013-11-271-0/+40
|
* tests: Try to fix valgrind warnings.Andreas Schneider2013-11-272-4/+4
|
* tests: Fix a valgrind warning.Andreas Schneider2013-11-271-0/+1
|
* tests: Add a test for ssh_channel().Andreas Schneider2013-10-312-0/+50
|
* tests: Add a sftp_read blocking test.Andreas Schneider2013-10-232-0/+84
|
* tests: Add a test for ssh_channel_request_env().Andreas Schneider2013-10-202-0/+115
|
* tests: We can't test the accept right now.Andreas Schneider2013-10-201-1/+5
|
* tests: Fix torture_forward.Andreas Schneider2013-10-201-3/+4
|
* tests: Add torture forward test.Andreas Schneider2013-10-202-0/+90
|
* tests: Add suppression for getdelim with selinux.Andreas Schneider2013-07-261-0/+11
|
* cmake: Check for unistd.h.Andreas Schneider2013-07-231-1/+4
|
* tests: Don't leak memory in torture_channel_read_error().Andreas Schneider2013-07-211-0/+2
|
* tests: Use fstat() after the open().Andreas Schneider2013-07-131-8/+8
|
* BUG 103: Disable proxy command if set to 'none'.Andreas Schneider2013-07-111-0/+18
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* tests: Check return value of stat.Andreas Schneider2013-06-181-1/+3
|
* tests: Check return values of buffer functions.Andreas Schneider2013-06-181-3/+7
|
* tests: Use memory assert functions.Andreas Schneider2013-06-171-7/+10
|
* torture: Fix a resource leak on error.Andreas Schneider2013-06-131-0/+1
|
* tests: Don't leak memory.Andreas Schneider2013-06-131-1/+2
|
* tests: Check the return value of write.Andreas Schneider2013-06-111-1/+2
|
* Report according status when errors are detectedAris Adamantiadis2012-12-271-0/+1
|