summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-24 05:12:29 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-24 05:12:29 +0000
commit0eec38475abf547a945bf4a5ad0fde5a5545489f (patch)
tree748237fb654cdb11936b768d9f93df17be61c218 /net-libs/libssh/files
parentVersion bump (fixes bug #394357). (diff)
downloadgentoo-2-0eec38475abf547a945bf4a5ad0fde5a5545489f.tar.gz
gentoo-2-0eec38475abf547a945bf4a5ad0fde5a5545489f.tar.bz2
gentoo-2-0eec38475abf547a945bf4a5ad0fde5a5545489f.zip
Remove old.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libssh/files')
-rw-r--r--net-libs/libssh/files/libssh-0.5.0-no-server.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/net-libs/libssh/files/libssh-0.5.0-no-server.patch b/net-libs/libssh/files/libssh-0.5.0-no-server.patch
deleted file mode 100644
index fe3d5373ea6c..000000000000
--- a/net-libs/libssh/files/libssh-0.5.0-no-server.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- libssh-0.5.0/src/messages.c.orig
-+++ libssh-0.5.0/src/messages.c
-@@ -41,7 +41,7 @@
- #include "libssh/keys.h"
- #include "libssh/dh.h"
- #include "libssh/messages.h"
--#if WITH_SERVER
-+#ifdef WITH_SERVER
- #include "libssh/server.h"
- #endif
-
-@@ -69,6 +69,26 @@
- return msg;
- }
-
-+#ifndef WITH_SERVER
-+
-+/* Reduced version of the reply default that only reply with
-+ * SSH_MSG_UNIMPLEMENTED
-+ */
-+static int ssh_message_reply_default(ssh_message msg) {
-+ ssh_log(msg->session, SSH_LOG_FUNCTIONS, "Reporting unknown packet");
-+
-+ if (buffer_add_u8(msg->session->out_buffer, SSH2_MSG_UNIMPLEMENTED) < 0)
-+ goto error;
-+ if (buffer_add_u32(msg->session->out_buffer,
-+ htonl(msg->session->recv_seq-1)) < 0)
-+ goto error;
-+ return packet_send(msg->session);
-+ error:
-+ return SSH_ERROR;
-+}
-+
-+#endif
-+
- static int ssh_execute_message_callback(ssh_session session, ssh_message msg) {
- int ret;
- if(session->ssh_message_callback != NULL) {