Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | buffer: do not use ssh_buffer_get_rest_len() | Fabiano Fidêncio | 2015-10-12 | 1 | -11/+11 |
| | | | | | | | | As ssh_buffer_get_len() actually calls ssh_buffer_get_rest_len(), let's just use the first one. This is a preparatory step for removing ssh_buffer_get_rest_len(). Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> | ||||
* | buffer: rename ssh_buffer_get_rest() to ssh_buffer_get() | Fabiano Fidêncio | 2015-10-12 | 1 | -6/+6 |
| | | | | Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> | ||||
* | tests: Fix warning about expected format for printf | Fabiano Fidêncio | 2015-10-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | /home/ffidenci/src/upstream/libssh/tests/benchmarks/bench_scp.c: In function ‘benchmarks_scp_down’: /home/ffidenci/src/upstream/libssh/tests/benchmarks/bench_scp.c:112:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=] printf("Only %d bytes available (on %lu requested).\n",size,bytes); ^ /home/ffidenci/src/upstream/libssh/tests/benchmarks/bench_scp.c:116:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=] printf("File is %d bytes (on %lu requested). Will cut the end\n" ,size,bytes); Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> | ||||
* | cleanup: use ssh_ prefix in the buffer (non-static) functions | Fabiano Fidêncio | 2015-10-12 | 1 | -35/+35 |
| | | | | | | | Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> | ||||
* | cleanup: use ssh_ prefix in the agent (non-static) functions | Fabiano Fidêncio | 2015-10-12 | 1 | -2/+2 |
| | | | | | | | Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> | ||||
* | WIP torture_auth | Andreas Schneider | 2015-10-12 | 3 | -205/+175 |
| | |||||
* | tests: Convert torture_connect to a cwrap test | Andreas Schneider | 2015-10-12 | 3 | -26/+79 |
| | |||||
* | torture: Add torture_teardown_sshd_server(). | Andreas Schneider | 2015-10-12 | 2 | -0/+45 |
| | |||||
* | torture: Restrict files to we write to our user. | Andreas Schneider | 2015-10-12 | 1 | -1/+1 |
| | |||||
* | WIP sshd server | Andreas Schneider | 2015-10-12 | 2 | -2/+103 |
| | |||||
* | torture: Add torture_teardown_socket_dir(). | Andreas Schneider | 2015-10-12 | 2 | -0/+26 |
| | |||||
* | torture: Add torture_setup_socket_dir(). | Andreas Schneider | 2015-10-12 | 2 | -0/+54 |
| | |||||
* | torture: Add server to get address and port. | Andreas Schneider | 2015-10-12 | 2 | -0/+51 |
| | |||||
* | tests: Add ssh host keys for test environment. | Andreas Schneider | 2015-10-12 | 8 | -0/+48 |
| | |||||
* | cmake: Configure nss_wrapper. | Andreas Schneider | 2015-10-12 | 4 | -0/+42 |
| | |||||
* | cmake: Search for cwrap and sshd. | Andreas Schneider | 2015-10-12 | 1 | -0/+12 |
| | |||||
* | tests: add test for cipher.(de|en)crypt | Aris Adamantiadis | 2015-09-23 | 2 | -0/+108 |
| | |||||
* | tests: Fix return code of torture_init | Andreas Schneider | 2015-09-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add tests for the new ssh_pki cert functions | Axel Eppe | 2015-09-07 | 2 | -0/+169 |
| | | | | | Signed-off-by: Axel Eppe <aeppe@google.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Migrate pkd_hello to new cmocka API | Andreas Schneider | 2015-09-07 | 1 | -19/+33 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | pki: Use the standard logging function | Andreas Schneider | 2015-09-07 | 1 | -10/+0 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Migrate to new cmocka API | Andreas Schneider | 2015-09-07 | 26 | -275/+395 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | cmake: Handle libssh threas library correctly | Andreas Schneider | 2015-09-07 | 2 | -7/+9 |
| | | | | | | This should fix the build on Windows and would not install pkg files. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add checks for ssh_key_is_private() | Andreas Schneider | 2015-08-10 | 1 | -0/+30 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | fix permissions | Aris Adamantiadis | 2015-07-08 | 1 | -0/+0 |
| | |||||
* | cmake: Fix zlib include directory | Andreas Schneider | 2015-07-03 | 2 | -6/+6 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | cmake: Do not use CMAKE_(SOURCE|BINARY)_DIR | Douglas Heriot | 2015-06-24 | 1 | -1/+1 |
| | |||||
* | valgrind: Add suppression for openssl FIPS dlopen leak | Andreas Schneider | 2015-05-06 | 1 | -0/+12 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | valgrind: Ignore valgrind free bug on exit | Andreas Schneider | 2015-05-06 | 1 | -0/+12 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Migrate torture_keyfiles to testkey functions | Andreas Schneider | 2015-05-06 | 1 | -16/+31 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | torture: Move TORTURE_TESTKEY_PASSWORD to header | Andreas Schneider | 2015-05-06 | 2 | -2/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Fix memory leak in torture_server_x11 test | Andreas Schneider | 2015-05-06 | 1 | -0/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Only link against threading library if available | Andreas Schneider | 2015-05-05 | 1 | -10/+14 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | cmake: Add missing OpenSSL include directory | Andreas Schneider | 2015-05-05 | 1 | -0/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Apply umask before calling mkstemp() | Andreas Schneider | 2015-05-05 | 2 | -1/+8 |
| | | | | | | CID: #978660 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Fix ctest default script | Andreas Schneider | 2015-05-04 | 1 | -4/+4 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | unittests: Fix memory leak in torture_pki_ed25519 | Andreas Schneider | 2015-04-02 | 1 | -0/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | torture: fix includes for freebsd10 | Aris Adamantiadis | 2015-02-14 | 1 | -1/+3 |
| | |||||
* | tests: torture-misc: check for NULL return codes | Aris Adamantiadis | 2015-02-12 | 1 | -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 cmocka | Aris Adamantiadis | 2015-02-12 | 1 | -0/+6 |
| | |||||
* | tests: allow conditionnal execution on pattern | Aris Adamantiadis | 2015-02-02 | 25 | -26/+88 |
| | | | | | | | | Option can be used to filter out irrelevant tests usage: ./torture_pki '*ed25519' Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | ed25519: Add test for signatures and verification | Aris Adamantiadis | 2015-02-02 | 2 | -0/+122 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 encrypted keys export | Aris Adamantiadis | 2015-02-02 | 1 | -0/+29 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 encrypted keys import | Aris Adamantiadis | 2015-02-02 | 2 | -1/+35 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 OpenSSH key saving | Aris Adamantiadis | 2015-02-02 | 1 | -4/+47 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 OpenSSH key loading and operations | Aris Adamantiadis | 2015-02-02 | 2 | -2/+206 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Fix torture_server_x11(). | Andreas Schneider | 2015-01-21 | 3 | -4/+30 |
| | |||||
* | tests: Add torture_server_x11 test. | Alan Dunn | 2015-01-20 | 2 | -0/+214 |
| | | | | | | | | torture_server_x11 tests whether a libssh server can correctly parse an X11 request. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ssh server setup functionality | Alan Dunn | 2015-01-20 | 2 | -0/+49 |
| | | | | | | | | | Add the ability to generate a keypair (RSA, but tests that focus on what occurs over a connection may well not care) and an ssh_bind easily. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add port option to torture_ssh_session | Alan Dunn | 2015-01-20 | 6 | -4/+12 |
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> |