3 Commits

Author SHA1 Message Date
Damien Miller
60cb7a627f new functions for read-only buffers with external storage
This adds some new functions: sshbuf_from(), sshbuf_fromb() and sshbuf_froms()
that create new buffers from a read-only blob, the contents of a buffer and
the contents of a string in a buffer respectively. In all cases the memory
contents are not copied - the new buffer, which is read-only, just refers to
the original location in memory.
2012-10-09 23:22:53 +02:00
Damien Miller
52f8dc5221 memory leak in test 2012-03-07 00:26:53 +01:00
Damien Miller
e60ae70c50 better name for the unit tests 2012-01-17 14:32:49 +01:00