1SUBDIRS = ossfuzz
2
3AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_builddir)/src
4LDADD = ../src/libssh2.la
5
6if SSHD
7noinst_PROGRAMS = ssh2
8ssh2_SOURCES = ssh2.c
9endif
10
11ctests = simple$(EXEEXT)
12TESTS = $(ctests) mansyntax.sh
13if SSHD
14TESTS += ssh2.sh
15endif
16check_PROGRAMS = $(ctests)
17
18TESTS_ENVIRONMENT = SSHD=$(SSHD) EXEEXT=$(EXEEXT)
19TESTS_ENVIRONMENT += srcdir=$(top_srcdir)/tests builddir=$(top_builddir)/tests
20
21EXTRA_DIST =                                                           \
22 CMakeLists.txt                                                        \
23 etc/host                                                              \
24 etc/host.pub                                                          \
25 etc/user                                                              \
26 etc/user.pub                                                          \
27 key_dsa                                                               \
28 key_dsa.pub                                                           \
29 key_dsa_wrong                                                         \
30 key_dsa_wrong.pub                                                     \
31 key_ecdsa                                                             \
32 key_ecdsa.pub                                                         \
33 key_ed25519                                                           \
34 key_ed25519.pub                                                       \
35 key_ed25519_encrypted                                                 \
36 key_ed25519_encrypted.pub                                             \
37 key_rsa                                                               \
38 key_rsa.pub                                                           \
39 key_rsa_encrypted                                                     \
40 key_rsa_encrypted.pub                                                 \
41 key_rsa_openssh                                                       \
42 key_rsa_openssh.pub                                                   \
43 libssh2_config_cmake.h.in                                             \
44 mansyntax.sh                                                          \
45 openssh_fixture.c                                                     \
46 openssh_fixture.h                                                     \
47 openssh_server/Dockerfile                                             \
48 openssh_server/authorized_keys                                        \
49 openssh_server/ca_ecdsa                                               \
50 openssh_server/ca_ecdsa.pub                                           \
51 openssh_server/ssh_host_ecdsa_key                                     \
52 openssh_server/ssh_host_ed25519_key                                   \
53 openssh_server/ssh_host_rsa_key                                       \
54 runner.c                                                              \
55 session_fixture.c                                                     \
56 session_fixture.h                                                     \
57 simple.c                                                              \
58 ssh2.c                                                                \
59 ssh2.sh                                                               \
60 sshd_fixture.sh.in                                                    \
61 test_agent_forward_succeeds.c                                         \
62 test_hostkey.c                                                        \
63 test_hostkey_hash.c                                                   \
64 test_keyboard_interactive_auth_fails_with_wrong_response.c            \
65 test_keyboard_interactive_auth_succeeds_with_correct_response.c       \
66 test_password_auth_fails_with_wrong_password.c                        \
67 test_password_auth_fails_with_wrong_username.c                        \
68 test_password_auth_succeeds_with_correct_credentials.c                \
69 test_public_key_auth_fails_with_wrong_key.c                           \
70 test_public_key_auth_succeeds_with_correct_dsa_key.c                  \
71 test_public_key_auth_succeeds_with_correct_ed25519_key.c              \
72 test_public_key_auth_succeeds_with_correct_ed25519_key_from_mem.c     \
73 test_public_key_auth_succeeds_with_correct_ecdsa_key.c                \
74 test_public_key_auth_succeeds_with_correct_signed_ecdsa_key.c         \
75 test_public_key_auth_succeeds_with_correct_encrypted_ed25519_key.c    \
76 test_public_key_auth_succeeds_with_correct_encrypted_rsa_key.c        \
77 test_public_key_auth_succeeds_with_correct_rsa_key.c                  \
78 test_public_key_auth_succeeds_with_correct_rsa_openssh_key.c
79