summaryrefslogtreecommitdiff
path: root/debian/patches/package-versioning.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-05-07 11:47:26 +0100
committerColin Watson <cjwatson@debian.org>2013-05-07 11:47:26 +0100
commit2ea3f720daeb1ca9f765365fce3a9546961fe624 (patch)
treec4fb7d1f51fa51e7677232de806aae150e29e2ac /debian/patches/package-versioning.patch
parentf5efcd3450bbf8261915e0c4a6f851229dddaa79 (diff)
parentecebda56da46a03dafff923d91c382f31faa9eec (diff)
* New upstream release (http://www.openssh.com/txt/release-6.2).
- Add support for multiple required authentication in SSH protocol 2 via an AuthenticationMethods option (closes: #195716). - Fix Sophie Germain formula in moduli(5) (closes: #698612). - Update ssh-copy-id to Phil Hands' greatly revised version (closes: #99785, #322228, #620428; LP: #518883, #835901, #1074798).
Diffstat (limited to 'debian/patches/package-versioning.patch')
-rw-r--r--debian/patches/package-versioning.patch28
1 files changed, 16 insertions, 12 deletions
diff --git a/debian/patches/package-versioning.patch b/debian/patches/package-versioning.patch
index b396cb116..c337ad671 100644
--- a/debian/patches/package-versioning.patch
+++ b/debian/patches/package-versioning.patch
@@ -5,26 +5,30 @@ Description: Include the Debian version in our identification
5 vulnerable-looking version strings. (However, see debian-banner.patch.) 5 vulnerable-looking version strings. (However, see debian-banner.patch.)
6Author: Matthew Vernon <matthew@debian.org> 6Author: Matthew Vernon <matthew@debian.org>
7Forwarded: not-needed 7Forwarded: not-needed
8Last-Update: 2012-09-07 8Last-Update: 2013-05-07
9 9
10Index: b/sshconnect.c 10Index: b/sshconnect.c
11=================================================================== 11===================================================================
12--- a/sshconnect.c 12--- a/sshconnect.c
13+++ b/sshconnect.c 13+++ b/sshconnect.c
14@@ -556,7 +556,7 @@ 14@@ -435,10 +435,10 @@
15 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s%s", 15 /* Send our own protocol version identification. */
16 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, 16 if (compat20) {
17 compat20 ? PROTOCOL_MINOR_2 : minor1, 17 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n",
18- SSH_VERSION, compat20 ? "\r\n" : "\n"); 18- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION);
19+ SSH_RELEASE, compat20 ? "\r\n" : "\n"); 19+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE);
20 if (roaming_atomicio(vwrite, connection_out, buf, strlen(buf)) 20 } else {
21 != strlen(buf)) 21 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n",
22 fatal("write: %.100s", strerror(errno)); 22- PROTOCOL_MAJOR_1, minor1, SSH_VERSION);
23+ PROTOCOL_MAJOR_1, minor1, SSH_RELEASE);
24 }
25 if (roaming_atomicio(vwrite, connection_out, client_version_string,
26 strlen(client_version_string)) != strlen(client_version_string))
23Index: b/sshd.c 27Index: b/sshd.c
24=================================================================== 28===================================================================
25--- a/sshd.c 29--- a/sshd.c
26+++ b/sshd.c 30+++ b/sshd.c
27@@ -425,7 +425,7 @@ 31@@ -434,7 +434,7 @@
28 } 32 }
29 33
30 xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s%s", 34 xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s%s",
@@ -38,7 +42,7 @@ Index: b/version.h
38--- a/version.h 42--- a/version.h
39+++ b/version.h 43+++ b/version.h
40@@ -3,4 +3,9 @@ 44@@ -3,4 +3,9 @@
41 #define SSH_VERSION "OpenSSH_6.1" 45 #define SSH_VERSION "OpenSSH_6.2"
42 46
43 #define SSH_PORTABLE "p1" 47 #define SSH_PORTABLE "p1"
44-#define SSH_RELEASE SSH_VERSION SSH_PORTABLE 48-#define SSH_RELEASE SSH_VERSION SSH_PORTABLE