summaryrefslogtreecommitdiffstats
path: root/regress/usr.bin/ssh/unittests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add a test for misc.c:argv_split(), currently failsdjm2021-03-193-2/+144
|
* splitdjm2021-03-195-151/+235
|
* Fix long->int for convtime tests here too. Spotted by tobhe@.dtucker2021-01-181-17/+17
|
* Change types in convtime() unit test to int to match change its new type.dtucker2021-01-151-16/+27
| | | | | Add tests for boundary conditions and fix convtime to work up to INT_MAX. ok djm@
* Update unittests for addr.c/addrmatch.c split.dtucker2021-01-099-17/+18
|
* Adapt to replacement of sntrup4591761x25519-sha512@tinyssh.org withdjm2020-12-292-4/+6
| | | | | | sntrup761x25519-sha512@openssh.com. Also test sntrup761x25519-sha512@openssh.com in unittests/kex
* adapt to API change in hostkeys_foreach()/load_hostkeys()djm2020-12-211-19/+72
|
* few more things needs match.c and addrmatch.c now that log.cdjm2020-10-163-3/+7
| | | | calls match_pattern_list()
* adapt to API changesdjm2020-08-272-6/+7
|
* Fix previous by calling the correct function.dtucker2020-07-151-2/+2
|
* Update test to match recent change in match.cdtucker2020-07-151-2/+2
|
* add support for verification of webauthn sshsig signature, anddjm2020-06-224-7/+718
| | | | | example HTML/JS to generate webauthn signatures in SSH formats (also used to generate the testdata/* for the test).
* run sshsig unit testsdjm2020-06-191-2/+2
|
* basic unit test for sshsig.[ch], including FIDO keysdjm2020-06-1923-0/+339
| | | | verification only so far
* basic unit test for FIDO kep parsingdjm2020-06-1924-7/+258
|
* Add regression and unit tests for ${ENV} style environment variabledtucker2020-05-291-3/+66
| | | | expansion in various keywords (bz#3140). ok djm@
* Unit test for convtime. ok djm@dtucker2020-05-291-1/+20
|
* sure enough, some of the test data that we though were in new formatdjm2020-05-014-33/+50
| | | | were actually in the old format; fix from Michael Forney
* make mktestdata.sh generate old/new format keys that we expect.djm2020-05-011-13/+13
| | | | | | This script was written before OpenSSH switched to new-format private keys by default and was never updated to the change (until now) From Michael Forney
* portability fix for sed that always emil a newline even if thedjm2020-05-011-3/+3
| | | | input does not contain one; from Michael Forney
* remove obsolete RSA1 test keys; spotted by Michael Forneydjm2020-05-0111-8/+0
|
* Add utf8.c for asmprintf used by krl.cdtucker2020-04-064-4/+8
|
* unbreak unittests for recent API / source file changesdjm2020-01-266-21/+18
|
* unbreak tests for recent security key changesdjm2019-11-257-12/+19
|
* more additional source filesdjm2019-11-011-2/+2
|
* additional source files here toodjm2019-11-011-2/+2
|
* additional source files here toodjm2019-11-011-2/+2
|
* adapt to extra sshkey_sign() argument and additional dependenciesdjm2019-11-013-8/+9
|
* Test did not compile due to missing symbols. Add source sshbuf-misc.cbluhm2019-08-221-4/+11
| | | | | to regress as it was done in ssh make file. from Moritz Buhl
* fix some memleaks in test_helper codedjm2019-08-021-4/+13
| | | | bz#3037 from Jitendra Sharma
* adapt to sshbuf_dtob64() changedjm2019-07-161-9/+9
|
* unit tests for sshbuf_cmp() and sshbuf_find(); ok markusdjm2019-07-151-2/+53
|
* unit tests for sshbuf_peek/poke bounds-checked random accessdjm2019-07-141-1/+230
| | | | functions. ok markus@
* adapt for key shielding API changes (const removal)djm2019-06-211-3/+3
|
* check for convtime() refusing to accept times that resolve to LONG_MAXdjm2019-06-141-1/+3
| | | | Reported by Kirk Wolf bz2977; ok dtucker
* Add unit tests for user@host and URI parsing.dtucker2019-04-283-2/+97
|
* adapt to changes in KEX API and file removalsdjm2019-01-212-11/+20
|
* adapt to bignum1 API removal and bignum2 API changedjm2019-01-212-154/+16
|
* ssh_packet_set_state() now frees ssh->kex implicitly, so don'tdjm2018-12-271-2/+1
| | | | do explicit kex_free() beforehand
* Remove now-unneeded ifdef SIGINFO around handler since it is now alwaysdtucker2018-11-231-3/+1
| | | | | used for SIGUSR1 even when SIGINFO is not defined. This will make things simpler in -portable.
* Output info on SIGUSR1 as well as SIGINFO to resync with portable.dtucker2018-11-221-1/+2
|
* add some knobs:djm2018-10-178-33/+103
| | | | | | | | | UNITTEST_FAST?= no # Skip slow tests (e.g. less intensive fuzzing). UNITTEST_SLOW?= no # Include slower tests (e.g. more intensive fuzzing). UNITTEST_VERBOSE?= no # Verbose test output (inc. per-test names). useful if you want to run the tests as a smoke test to exercise the functionality without waiting for all the fuzzers to run.
* missed a bit of openssl-1.0.x API in this unittestdjm2018-09-134-65/+96
|
* use only openssl-1.1.x API here toodjm2018-09-131-38/+67
|
* Include certs with multiple RSA signature variants in test datadjm2018-09-128-2/+66
| | | | Ensure that cert->signature_key is populated correctly
* s/sshkey_demote/sshkey_from_private/gdjm2018-09-121-5/+5
|
* memleak in unittest; found by valgrinddjm2018-07-161-3/+34
|
* fix leaks in unit test; with this, all unit tests are leak freedjm2018-07-131-1/+4
| | | | (as far as valgrind can spot anyway)
* deal with API rename: match_filter_list() => match_filter_blacklist()djm2018-07-041-2/+2
|
* unit tests for new authorized_keys options APIdjm2018-03-0321-1/+665
|