Displaying 2 results from an estimated 2 matches for "buffer_get_char_ret".
2009 Jun 01
0
ssh option "-C" generates an error
Hi Team,
While doing ssh with compression option "-C" does not work anymore
and produces following error
buffer_get_ret: trying to get more bytes 1 than in buffer 0
buffer_get_char_ret: buffer_get_ret failed
buffer_get_char: buffer error
Environment :-
oslevel - AIX 5300-08-04
ssh version --- OpenSSH_4.7p1, OpenSSL 0.9.8f 11 Oct 2007
Please Help me to fix this problem.
Many Thanks
Vinoth
Server Management - Distributed (Unix)
Server Systems Oper...
2012 Jan 28
1
PATCH: Support for encrypted host keys
...des1.o cleanup.o \
compat.o compress.o crc32.o deattack.o fatal.o hostfile.o \
diff --git a/buffer.h b/buffer.h
index e2a9dd1..a0c62c1 100644
--- a/buffer.h
+++ b/buffer.h
@@ -86,6 +86,11 @@ char *buffer_get_cstring_ret(Buffer *, u_int *);
void *buffer_get_string_ptr_ret(Buffer *, u_int *);
int buffer_get_char_ret(char *, Buffer *);
+#include "key.h"
+
+void buffer_put_key(Buffer *buffer, const Key *key);
+Key *buffer_get_key(Buffer *buffer);
+
#ifdef OPENSSL_HAS_ECC
#include <openssl/ec.h>
diff --git a/bufkey.c b/bufkey.c
new file mode 100644
index 0000000..85a0c35
--- /dev/null
+++ b/...