mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
d47f13ae97
ssh_encode_{array_alloc,buffer}() calls as appropriate in order to fix argument size problems on 64-bit platforms and that manifest themselves on amd64 and ia64. [1] - Allow the tcsetattr(3) calls in ssh_rl_{restore,set}_tty_modes_for_fd() to be interrupted by signal. This fixes occasional problems when connecting to a host for the first time. - Use the base zlib instead of the one shipping with SSH; although the latter has an enhancement allowing a minor SSH-specific optimization, using the base one has the benefit of not needing to track security vulnerabilities of zlib in this port (SSH 3.2.9.1 ships with zlib 1.1.4 which is not know to be vulnerable though). - Try to make the description of the WITHOUT_X11 option of the port Makefile to be more sentence-like. PR: 98016 [1] Approved by: netchild Obtained from: NetBSD [1]
12 lines
598 B
C
12 lines
598 B
C
--- apps/ssh/ssh-signer2.c.orig 2003-12-03 15:17:26.000000000 +0200
|
|
+++ apps/ssh/ssh-signer2.c
|
|
@@ -264,7 +264,7 @@ SSH_FSM_STEP(signer_send_error)
|
|
(unsigned int) gdata->error_code_to_ssh2,
|
|
SSH_FORMAT_UINT32_STR, gdata->error_message_to_ssh2,
|
|
strlen(gdata->error_message_to_ssh2),
|
|
- SSH_FORMAT_UINT32_STR, "en", 2,
|
|
+ SSH_FORMAT_UINT32_STR, "en", (size_t) 2,
|
|
SSH_FORMAT_END);
|
|
|
|
ssh_packet_wrapper_can_receive(gdata->wrapper, FALSE);
|