Displaying 1 result from an estimated 1 matches for "85a0c35".
Did you mean:
75a0735
2012 Jan 28
1
PATCH: Support for encrypted host keys
...*);
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 gmail.com>
+ *
+ * Functions for storing and retrieving Key structs into/from Buffers.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that...