From 831ceff0919f4fff20e26680c7f252daa0f9923d Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 28 Apr 2026 10:31:54 +0200 Subject: [PATCH] Add missing newline on eof MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MacOS is choking on these: /Users/gitlab/builds/libssh/libssh-mirror/src/packet_cb.c:508:2: error: no newline at end of file [-Werror,-Wnewline-eof] } ^ 1 error generated. Signed-off-by: Jakub Jelen Reviewed-by: Pavol Žáčik Merge-Request: --- src/packet_cb.c | 2 +- tests/client/torture_tinyssh.c | 2 +- tests/pkd/pkd_keyutil.c | 4 ++-- tests/pkd/pkd_util.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/packet_cb.c b/src/packet_cb.c index 565621fc..efb0a942 100644 --- a/src/packet_cb.c +++ b/src/packet_cb.c @@ -505,4 +505,4 @@ SSH_PACKET_CALLBACK(ssh_packet_pong) session->pending_pings--; return SSH_PACKET_USED; -} \ No newline at end of file +} diff --git a/tests/client/torture_tinyssh.c b/tests/client/torture_tinyssh.c index 9edb883a..ed015fcb 100644 --- a/tests/client/torture_tinyssh.c +++ b/tests/client/torture_tinyssh.c @@ -342,4 +342,4 @@ int torture_run_tests(void) ssh_finalize(); return rc; -} \ No newline at end of file +} diff --git a/tests/pkd/pkd_keyutil.c b/tests/pkd/pkd_keyutil.c index 34e071e2..797c0a7c 100644 --- a/tests/pkd/pkd_keyutil.c +++ b/tests/pkd/pkd_keyutil.c @@ -263,7 +263,7 @@ void cleanup_putty_client_keys(void) cleanup_key(PUTTY_ECDSA256_TESTKEY); cleanup_file(PUTTY_ECDSA256_PPK_TESTKEY); - + cleanup_key(PUTTY_ED25519_TESTKEY); cleanup_file(PUTTY_ED25519_PPK_TESTKEY); -} \ No newline at end of file +} diff --git a/tests/pkd/pkd_util.h b/tests/pkd/pkd_util.h index 8c4a637d..aba91293 100644 --- a/tests/pkd/pkd_util.h +++ b/tests/pkd/pkd_util.h @@ -14,4 +14,4 @@ int is_openssh_client_enabled(void); int is_dropbear_client_enabled(void); int is_putty_client_enabled(void); -#endif /* __PKD_UTIL_H__ */ \ No newline at end of file +#endif /* __PKD_UTIL_H__ */