search for: buffer_put_key

Displaying 1 result from an estimated 1 matches for "buffer_put_key".

Did you mean: buffer_get_key
2012 Jan 28
1
PATCH: Support for encrypted host keys
...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/bufkey.c @@ -0,0 +1,132 @@ +/* + * Author: Zev Weiss <zevweiss at gma...