mirror of
https://github.com/openssh/libopenssh
synced 2026-04-17 02:06:45 +00:00
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.
15 lines
266 B
Makefile
15 lines
266 B
Makefile
# $OpenBSD$
|
|
|
|
PROG=test_sshbuf
|
|
SRCS=tests.c
|
|
SRCS+=test_sshbuf.c
|
|
SRCS+=test_sshbuf_getput_basic.c
|
|
SRCS+=test_sshbuf_getput_crypto.c
|
|
SRCS+=test_sshbuf_misc.c
|
|
SRCS+=test_sshbuf_fuzz.c
|
|
SRCS+=test_sshbuf_getput_fuzz.c
|
|
SRCS+=test_sshbuf_fixed.c
|
|
|
|
.include <bsd.regress.mk>
|
|
|