Darren Tucker 
							
						 
					 
					
						
						
						
						
							
						
						
							976b9588b4 
							
						 
					 
					
						
						
							
							Wrap OpenSSL includes in unit tests in ifdef.  
						
						... 
						
						
						
						Fixes unit test on systems that do not have OpenSSL headers installed. 
						
						
					 
					
						2022-01-14 13:47:27 +11:00 
						 
				 
			
				
					
						
							
							
								deraadt@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							3eead81583 
							
						 
					 
					
						
						
							
							upstream: sys/param.h cleanup, mostly using MINIMUM() and  
						
						... 
						
						
						
						<limits.h> ok dtucker
OpenBSD-Regress-ID: 172a4c45d3bcf92fa6cdf6c4b9db3f1b3abe4db0 
						
						
					 
					
						2021-12-20 12:16:49 +11:00 
						 
				 
			
				
					
						
							
							
								Darren Tucker 
							
						 
					 
					
						
						
						
						
							
						
						
							40bd3709dd 
							
						 
					 
					
						
						
							
							Skip SK unit tests when built without security-key  
						
						
						
						
					 
					
						2021-10-07 15:55:49 +11:00 
						 
				 
			
				
					
						
							
							
								dtucker@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							b08ef25552 
							
						 
					 
					
						
						
							
							upstream: Update unittests for addr.c/addrmatch.c split.  
						
						... 
						
						
						
						OpenBSD-Regress-ID: de2b415fb7af084a91c6ef147a90482d8f771eef 
						
						
					 
					
						2021-01-11 15:24:31 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							e32479645c 
							
						 
					 
					
						
						
							
							upstream: adapt to API changes  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 5f147990cb67094fe554333782ab268a572bb2dd 
						
						
					 
					
						2020-08-27 13:58:23 +10:00 
						 
				 
			
				
					
						
							
							
								Darren Tucker 
							
						 
					 
					
						
						
						
						
							
						
						
							e684b1ea36 
							
						 
					 
					
						
						
							
							Skip OpenSSL specific tests w/out OpenSSL.  
						
						... 
						
						
						
						Allows unit tests to pass when configure'ed --without-openssl. 
						
						
					 
					
						2020-06-19 18:38:39 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							e95c0a0e96 
							
						 
					 
					
						
						
							
							upstream: basic unit test for FIDO kep parsing  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 8089b88393dd916d7c95422b442a6fd4cfe00c82 
						
						
					 
					
						2020-06-19 15:58:10 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							4da393f87c 
							
						 
					 
					
						
						
							
							upstream: sure enough, some of the test data that we though were in  
						
						... 
						
						
						
						new format were actually in the old format; fix from Michael Forney
OpenBSD-Regress-ID: a41a5c43a61b0f0b1691994dbf16dfb88e8af933 
						
						
					 
					
						2020-05-04 18:42:13 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							15bfafc1db 
							
						 
					 
					
						
						
							
							upstream: make mktestdata.sh generate old/new format keys that we  
						
						... 
						
						
						
						expect. 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
OpenBSD-Regress-ID: 38cf354715c96852e5b71c2393fb6e7ad28b7ca7 
						
						
					 
					
						2020-05-04 18:42:13 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							7882d2eda6 
							
						 
					 
					
						
						
							
							upstream: portability fix for sed that always emil a newline even  
						
						... 
						
						
						
						if the input does not contain one; from Michael Forney
OpenBSD-Regress-ID: 9190c3ddf0d2562ccc02c4a95fce0e392196bfc7 
						
						
					 
					
						2020-05-04 18:42:13 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							8074f9499e 
							
						 
					 
					
						
						
							
							upstream: remove obsolete RSA1 test keys; spotted by Michael Forney  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 6384ba889594e217d166908ed8253718ab0866da 
						
						
					 
					
						2020-05-04 18:42:13 +10:00 
						 
				 
			
				
					
						
							
							
								dtucker@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							abc3e0a517 
							
						 
					 
					
						
						
							
							upstream: Add utf8.c for asmprintf used by krl.c  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 433708d11165afdb189fe635151d21659dd37a37 
						
						
					 
					
						2020-04-10 11:47:40 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							f73ab8a811 
							
						 
					 
					
						
						
							
							upstream: unbreak unittests for recent API / source file changes  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 075a899a01bbf7781d38bf0b33d8366faaf6d3c0 
						
						
					 
					
						2020-01-26 14:19:43 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							c5f1cc9935 
							
						 
					 
					
						
						
							
							upstream: unbreak tests for recent security key changes  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 2cdf2fcae9962ca4d711338f3ceec3c1391bdf95 
						
						
					 
					
						2019-11-25 21:34:20 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							dfc8f01b98 
							
						 
					 
					
						
						
							
							upstream: adapt to extra sshkey_sign() argument and additional  
						
						... 
						
						
						
						dependencies
OpenBSD-Regress-ID: 7a25604968486c4d6f81d06e8fbc7d17519de50e 
						
						
					 
					
						2019-11-01 13:10:09 +11:00 
						 
				 
			
				
					
						
							
							
								Damien Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							f61f29afda 
							
						 
					 
					
						
						
							
							make unittests pass for no-openssl case  
						
						
						
						
					 
					
						2019-09-08 10:37:17 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							1dfadb9b57 
							
						 
					 
					
						
						
							
							upstream: adapt for key shielding API changes (const removal)  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 298890bc52f0cd09dba76dc1022fabe89bc0ded6 
						
						
					 
					
						2019-06-21 14:24:44 +10:00 
						 
				 
			
				
					
						
							
							
								Damien Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							42c5ec4b97 
							
						 
					 
					
						
						
							
							refactor libcrypto initialisation  
						
						... 
						
						
						
						Don't call OpenSSL_add_all_algorithms() unless OpenSSL actually
supports it.
Move all libcrypto initialisation to a single function, and call that
from seed_rng() that is called early in each tool's main().
Prompted by patch from Rosen Penev 
						
						
					 
					
						2018-11-23 10:42:05 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							35d0e5fefc 
							
						 
					 
					
						
						
							
							upstream: add some knobs:  
						
						... 
						
						
						
						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.
OpenBSD-Regress-ID: e04d82ebec86068198cd903acf1c67563c57315e 
						
						
					 
					
						2018-11-22 16:14:31 +11:00 
						 
				 
			
				
					
						
							
							
								Damien Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							d64e785265 
							
						 
					 
					
						
						
							
							add compat header  
						
						
						
						
					 
					
						2018-09-13 19:05:48 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							a3fd8074e2 
							
						 
					 
					
						
						
							
							upstream: missed a bit of openssl-1.0.x API in this unittest  
						
						... 
						
						
						
						OpenBSD-Regress-ID: a73a54d7f7381856a3f3a2d25947bee7a9a5dbc9 
						
						
					 
					
						2018-09-13 19:04:10 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							86e0a9f3d2 
							
						 
					 
					
						
						
							
							upstream: use only openssl-1.1.x API here too  
						
						... 
						
						
						
						OpenBSD-Regress-ID: ae877064597c349954b1b443769723563cecbc8f 
						
						
					 
					
						2018-09-13 15:08:27 +10:00 
						 
				 
			
				
					
						
							
							
								Damien Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							86112951d6 
							
						 
					 
					
						
						
							
							forgot to stage these test files in commit d70d061  
						
						
						
						
					 
					
						2018-09-13 12:12:42 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							d70d061828 
							
						 
					 
					
						
						
							
							upstream: Include certs with multiple RSA signature variants in  
						
						... 
						
						
						
						test data Ensure that cert->signature_key is populated correctly
OpenBSD-Regress-ID: 56e68f70fe46cb3a193ca207385bdb301fd6603a 
						
						
					 
					
						2018-09-12 16:51:36 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							2de78bc7da 
							
						 
					 
					
						
						
							
							upstream: s/sshkey_demote/sshkey_from_private/g  
						
						... 
						
						
						
						OpenBSD-Regress-ID: 782bde7407d94a87aa8d1db7c23750e09d4443c4 
						
						
					 
					
						2018-09-12 16:51:14 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							dbab02f920 
							
						 
					 
					
						
						
							
							upstream: fix leaks in unit test; with this, all unit tests are  
						
						... 
						
						
						
						leak free (as far as valgrind can spot anyway)
OpenBSD-Regress-ID: b824d8b27998365379963440e5d18b95ca03aa17 
						
						
					 
					
						2018-07-13 12:14:38 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							e6c4134165 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						unbreak unit tests after removal of src/usr.bin/ssh/lib
OpenBSD-Regress-ID: 3a79760494147b20761cbd2bd5c20e86c63dc8f9 
						
						
					 
					
						2018-01-03 16:46:49 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							d757a4b633 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						fix for new SSH_ERR_KEY_LENGTH error value
Upstream-Regress-ID: c38a6e6174d4c3feca3518df150d4fbae0dca8dc 
						
						
					 
					
						2017-05-08 16:11:26 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							557f921aad 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						remove SSHv1 support from unit tests
Upstream-Regress-ID: 395ca2aa48f1f7d23eefff6cb849ea733ca8bbfe 
						
						
					 
					
						2017-05-01 10:07:19 +10:00 
						 
				 
			
				
					
						
							
							
								tb@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							7da751d8b0 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						Clean up MALLOC_OPTIONS.  For the unittests, move
MALLOC_OPTIONS and TEST_ENV to unittets/Makefile.inc.
ok otto
Upstream-Regress-ID: 890d497e0a38eeddfebb11cc429098d76cf29f12 
						
						
					 
					
						2016-11-29 17:16:29 +11:00 
						 
				 
			
				
					
						
							
							
								tb@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							36f58e6822 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						Remove the obsolete A and P flags from MALLOC_OPTIONS.
ok dtucker
Upstream-Regress-ID: 6cc25024c8174a87e5734a0dc830194be216dd59 
						
						
					 
					
						2016-11-29 17:14:27 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							67f1459efd 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						unit and regress tests for SHA256/512; ok markus
Upstream-Regress-ID: a0cd1a92dc824067076a5fcef83c18df9b0bf2c6 
						
						
					 
					
						2016-05-02 20:59:50 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							da98c11d03 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						basic unit tests for rsa-sha2-* signature types
Upstream-Regress-ID: 7dc4b9db809d578ff104d591b4d86560c3598d3c 
						
						
					 
					
						2015-12-07 13:21:30 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							fdd020e864 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						adapt to recent sshkey_parse_private_fileblob() API
 change
Upstream-Regress-ID: 5c0d818da511e33e0abf6a92a31bd7163b7ad988 
						
						
					 
					
						2015-10-06 12:29:03 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							d85dad8177 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						adjust for RSA minimum modulus switch; ok deraadt@
Upstream-Regress-ID: 5a72c83431b96224d583c573ca281cd3a3ebfdae 
						
						
					 
					
						2015-08-06 11:13:25 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							41e38c4d49 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						regen RSA1 test keys; the last batch was missing their
 private parts
Upstream-Regress-ID: 7ccf437305dd63ff0b48dd50c5fd0f4d4230c10a 
						
						
					 
					
						2015-07-15 17:25:10 +10:00 
						 
				 
			
				
					
						
							
							
								markus@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							7a6e3fd7b4 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						regen test data after mktestdata.sh changes
Upstream-Regress-ID: 3495ecb082b9a7c048a2d7c5c845d3bf181d25a4 
						
						
					 
					
						2015-07-15 16:04:27 +10:00 
						 
				 
			
				
					
						
							
							
								markus@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							7c8c174c69 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						adapt tests to new minimum RSA size and default FP format
Upstream-Regress-ID: a4b30afd174ce82b96df14eb49fb0b81398ffd0e 
						
						
					 
					
						2015-07-15 16:04:26 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							6a977a4b68 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						legacy v00 certificates are gone; adapt and don't try to
 test them; "sure" markus@ dtucker@
Upstream-Regress-ID: c57321e69b3cd4a3b3396dfcc43f0803d047da12 
						
						
					 
					
						2015-07-15 16:04:02 +10:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							368f83c793 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						use correct key for nested certificate test 
						
						
					 
					
						2015-05-10 11:35:12 +10:00 
						 
				 
			
				
					
						
							
							
								Damien Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							4df590cf8d 
							
						 
					 
					
						
						
							
							make unit tests work for !OPENSSH_HAS_ECC  
						
						
						
						
					 
					
						2015-03-11 10:02:39 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							ac5e8acefa 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						make these work with !SSH1; ok markus@ deraadt@ 
						
						
					 
					
						2015-03-05 10:27:22 +11:00 
						 
				 
			
				
					
						
							
							
								Darren Tucker 
							
						 
					 
					
						
						
						
						
							
						
						
							5d5ec165c5 
							
						 
					 
					
						
						
							
							Restrict ECDSA and ECDH tests.  
						
						... 
						
						
						
						ifdef out some more ECDSA and ECDH tests when built against an OpenSSL
that does not have eliptic curve functionality. 
						
						
					 
					
						2015-02-25 15:32:49 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							fe8a3a5169 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						adapt to sshkey API tweaks 
						
						
					 
					
						2015-01-27 00:03:31 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							3a2b09d147 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						more and better key tests
test signatures and verification
test certificate generation
flesh out nested cert test
removes most of the XXX todo markers 
						
						
					 
					
						2015-01-20 00:25:12 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							589e69fd82 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						make the signature fuzzing test much more rigorous:
 ensure that the fuzzed input cases do not match the original (using new
 fuzz_matches_original() function) and check that the verification fails in
 each case 
						
						
					 
					
						2015-01-20 00:24:40 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							c4bfafcc2a 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						adjust for sshkey_load_file() API change 
						
						
					 
					
						2015-01-09 00:46:04 +11:00 
						 
				 
			
				
					
						
							
							
								djm@openbsd.org 
							
						 
					 
					
						
						
						
						
							
						
						
							1e30483c8a 
							
						 
					 
					
						
						
							
							upstream commit  
						
						... 
						
						
						
						adjust for new SHA256 key fingerprints and
 slightly-different MD5 hex fingerprint format 
						
						
					 
					
						2014-12-22 13:21:07 +11:00 
						 
				 
			
				
					
						
							
							
								Damien Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							1b215c098b 
							
						 
					 
					
						
						
							
							- (djm) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c]  
						
						... 
						
						
						
						[regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c]
   [regress/unittests/sshkey/common.c]
   [regress/unittests/sshkey/test_file.c]
   [regress/unittests/sshkey/test_fuzz.c]
   [regress/unittests/sshkey/test_sshkey.c] Don't include openssl/ec.h
   on !ECC OpenSSL systems 
						
						
					 
					
						2014-08-27 04:04:40 +10:00 
						 
				 
			
				
					
						
							
							
								Darren Tucker 
							
						 
					 
					
						
						
						
						
							
						
						
							dd417b60d5 
							
						 
					 
					
						
						
							
							- dtucker@cvs.openbsd.org 2014/07/22 23:35:38  
						
						... 
						
						
						
						[regress/unittests/sshkey/testdata/*]
     Regenerate test keys with certs signed with ed25519 instead of ecdsa.
     These can be used in -portable on platforms that don't support ECDSA. 
						
						
					 
					
						2014-07-23 10:41:21 +10:00