openssh-7.3_p1-hpn-12-x509-9.2-glue.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --- a/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch
  2. +++ b/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch
  3. @@ -1155,7 +1155,7 @@
  4. @@ -44,7 +44,7 @@
  5. LD=@LD@
  6. CFLAGS=@CFLAGS@
  7. - CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@
  8. + CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ @LDAP_CPPFLAGS@ $(PATHS) @DEFS@
  9. -LIBS=@LIBS@
  10. +LIBS=@LIBS@ -lpthread
  11. K5LIBS=@K5LIBS@
  12. --- a/0004-support-dynamically-sized-receive-buffers.patch
  13. +++ b/0004-support-dynamically-sized-receive-buffers.patch
  14. @@ -2144,9 +2144,9 @@
  15. @@ -527,10 +555,10 @@ send_client_banner(int connection_out, int minor1)
  16. /* Send our own protocol version identification. */
  17. if (compat20) {
  18. - xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n",
  19. -- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION);
  20. -+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE);
  21. + xasprintf(&client_version_string, "SSH-%d.%d-%.100s PKIX[%s]\r\n",
  22. +- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, SSH_X509);
  23. ++ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE, SSH_X509);
  24. } else {
  25. xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n",
  26. - PROTOCOL_MAJOR_1, minor1, SSH_VERSION);
  27. @@ -2163,9 +2163,9 @@
  28. @@ -432,7 +432,7 @@
  29. }
  30. - xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s%s",
  31. -- major, minor, SSH_VERSION,
  32. -+ major, minor, SSH_RELEASE,
  33. + xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s%s%s",
  34. +- major, minor, SSH_VERSION, comment,
  35. ++ major, minor, SSH_RELEASE, comment,
  36. *options.version_addendum == '\0' ? "" : " ",
  37. options.version_addendum, newline);