1
1
libssh/tests/unittests
Anderson Toshiyuki Sasaki 88d777e678 pki: Search OpenSSH header not only at the beginning
Try to find the OpenSSH private key header not only at the beginning of
the file.  This makes the parser to skip comments and white spaces.

Fixes: T76
Fixes: T123

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-07-29 19:14:24 +02:00
..
CMakeLists.txt token, kex: Add functions to handle tokens lists 2019-06-12 10:17:54 +02:00
torture_bind_config.c tests/torture_bind_config: Use allowed algorithms in FIPS mode 2019-06-13 16:28:25 +02:00
torture_buffer.c buffer: Fix regression introduced by 6c7eaa and c306a6 2019-02-21 10:51:17 +01:00
torture_bytearray.c tests: Avoid warnings about unused arguments 2018-11-23 17:30:16 +01:00
torture_callbacks.c tests: Prefer assert_non_null() over assert_false() 2019-01-26 13:56:22 +01:00
torture_channel.c tests: Use ZERO_STRUCT for readfds 2018-08-20 18:42:03 +02:00
torture_config.c tests/torture_config: Replace long long with uint64_t 2019-06-14 15:22:45 +02:00
torture_crypto.c tests: Initialize ssh_cipher_struct in torture_crypto_aes256_cbc() 2019-01-26 15:47:49 +01:00
torture_hashes.c torture_hashes: Skip the MD5 tests in FIPS mode 2019-06-12 10:41:24 +02:00
torture_init.c tests: Test calling ssh_init() after ssh_finalize() 2018-11-30 18:26:55 +01:00
torture_isipaddr.c torture: Remove unused variable 2018-06-28 09:05:58 +02:00
torture_keyfiles.c tests: Fix null termination in torture_read_one_line() 2019-05-28 09:18:53 +02:00
torture_knownhosts_parsing.c kex: Do not ignore keys in known_hosts files 2019-07-04 10:29:20 +02:00
torture_list.c tests: Added NULL checks in torture_list.c 2019-01-26 13:56:22 +01:00
torture_misc.c tests: Prefer assert_non_null() over assert_false() 2019-01-26 13:56:22 +01:00
torture_moduli.c tests: Added moduli file parsing tests 2019-01-24 12:56:09 +01:00
torture_options.c tests: Add more reproducers for valid and invalid Match exec blocks 2019-06-14 07:48:01 +02:00
torture_packet_filter.c packet: Allow SSH2_MSG_EXT_INFO when authenticated 2018-12-10 16:42:26 +01:00
torture_packet.c Add tests and implementation for Encrypt-then-MAC mode 2019-02-22 15:31:08 +01:00
torture_pki_dsa.c tests: Add reproducer for T76 2019-06-19 18:01:36 +02:00
torture_pki_ecdsa.c tests: Add reproducer for T76 2019-06-19 18:01:36 +02:00
torture_pki_ed25519.c pki: Search OpenSSH header not only at the beginning 2019-07-29 19:14:24 +02:00
torture_pki_rsa.c tests: Skip 1k RSA key generation in FIPS 2019-06-21 08:58:21 +02:00
torture_pki.c tests/torture_pki: Skip some tests if in FIPS mode 2019-06-13 16:29:32 +02:00
torture_push_pop_dir.c tests: Introduce functions to change directories 2018-11-28 15:51:06 +01:00
torture_rand.c crytpo: Make sure we check return of ssh_get_random() correctly 2018-07-05 12:12:14 +02:00
torture_server_x11.c libssh: deprecate SSH_KEYTYPE_ECDSA 2019-04-17 10:21:42 +02:00
torture_session_keys.c dh: Rename variables for DH key exchange 2019-04-04 08:00:15 +02:00
torture_temp_dir.c tests: Introduce torture_make_temp_dir() 2018-11-28 15:51:06 +01:00
torture_temp_file.c tests: use torture_create_temp_file() in torture_knownhosts_parsing 2018-11-28 15:51:06 +01:00
torture_threads_buffer.c buffer: Fix regression introduced by 6c7eaa and c306a6 2019-02-21 10:51:17 +01:00
torture_threads_crypto.c tests: Init cipher structure in thread_crypto_aes256_cbc() 2018-10-24 09:48:35 +02:00
torture_threads_init.c tests: Use UNUSED macros in torture_threads_init 2018-11-30 18:25:12 +01:00
torture_threads_pki_rsa.c tests: Use public key to verify signatures 2019-05-13 16:37:51 +02:00
torture_tokens.c token: Added function to remove duplicates 2019-07-04 10:29:20 +02:00