summaryrefslogtreecommitdiff
path: root/pcr/openssh-knock/error.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-15 15:08:37 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-15 15:08:37 -0300
commitedaf006f9cf7b6f968b9ae6cdbb284a3238c4afa (patch)
tree84b3368bdd48035b0d68c2b2f0d57f8206956ecf /pcr/openssh-knock/error.patch
parent49f68d3fc7e253bb313c55ab80b2287c800db951 (diff)
openssh-knock-6.9p1-1: updating version
Diffstat (limited to 'pcr/openssh-knock/error.patch')
-rw-r--r--pcr/openssh-knock/error.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/openssh-knock/error.patch b/pcr/openssh-knock/error.patch
new file mode 100644
index 000000000..1616ba363
--- /dev/null
+++ b/pcr/openssh-knock/error.patch
@@ -0,0 +1,25 @@
+From 4d24b3b6a4a6383e05e7da26d183b79fa8663697 Mon Sep 17 00:00:00 2001
+From: Damien Miller <djm@mindrot.org>
+Date: Thu, 19 Mar 2015 22:11:59 +0000
+Subject: remove error() accidentally inserted for debugging
+
+pointed out by Christian Hesse
+---
+diff --git a/monitor_wrap.c b/monitor_wrap.c
+index b379f05..d39d491 100644
+--- a/monitor_wrap.c
++++ b/monitor_wrap.c
+@@ -153,10 +153,8 @@ mm_request_receive(int sock, Buffer *m)
+ debug3("%s entering", __func__);
+
+ if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) {
+- if (errno == EPIPE) {
+- error("%s: socket closed", __func__);
++ if (errno == EPIPE)
+ cleanup_exit(255);
+- }
+ fatal("%s: read: %s", __func__, strerror(errno));
+ }
+ msg_len = get_u32(buf);
+--
+cgit v0.9.2