--- a/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch +++ b/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch @@ -1155,7 +1155,7 @@ @@ -44,7 +44,7 @@ LD=@LD@ CFLAGS=@CFLAGS@ - CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ + CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ @LDAP_CPPFLAGS@ $(PATHS) @DEFS@ -LIBS=@LIBS@ +LIBS=@LIBS@ -lpthread K5LIBS=@K5LIBS@ --- a/0004-support-dynamically-sized-receive-buffers.patch +++ b/0004-support-dynamically-sized-receive-buffers.patch @@ -2144,9 +2144,9 @@ @@ -527,10 +555,10 @@ send_client_banner(int connection_out, int minor1) /* Send our own protocol version identification. */ if (compat20) { - xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n", -- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION); -+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE); + xasprintf(&client_version_string, "SSH-%d.%d-%.100s PKIX[%s]\r\n", +- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, SSH_X509); ++ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE, SSH_X509); } else { xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n", - PROTOCOL_MAJOR_1, minor1, SSH_VERSION); @@ -2163,9 +2163,9 @@ @@ -432,7 +432,7 @@ } - xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s%s", -- major, minor, SSH_VERSION, -+ major, minor, SSH_RELEASE, + xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s%s%s", +- major, minor, SSH_VERSION, comment, ++ major, minor, SSH_RELEASE, comment, *options.version_addendum == '\0' ? "" : " ", options.version_addendum, newline);