about summary refs log tree commit diff
path: root/pkgs/applications/version-management/pijul/thrussh-build-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/pijul/thrussh-build-fix.patch')
-rw-r--r--pkgs/applications/version-management/pijul/thrussh-build-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/pijul/thrussh-build-fix.patch b/pkgs/applications/version-management/pijul/thrussh-build-fix.patch
new file mode 100644
index 000000000000..3989639620bf
--- /dev/null
+++ b/pkgs/applications/version-management/pijul/thrussh-build-fix.patch
@@ -0,0 +1,12 @@
+--- a/src/client/connection.rs	2020-02-04 12:48:43.845299096 +0100
++++ b/src/client/connection.rs	2020-02-04 12:50:00.140329310 +0100
+@@ -546,8 +546,8 @@
+                 &[msg::NEWKEYS],
+                 &mut session.0.write_buffer,
+             );
+-            session.0.kex = Some(Kex::NewKeys(newkeys));
+             newkeys.sent = true;
++            session.0.kex = Some(Kex::NewKeys(newkeys));
+         }
+         Ok(())
+     }