New buffer API; the first installment of the conversion/replacement
authordjm <djm@openbsd.org>
Wed, 30 Apr 2014 05:29:56 +0000 (05:29 +0000)
committerdjm <djm@openbsd.org>
Wed, 30 Apr 2014 05:29:56 +0000 (05:29 +0000)
commit15b55daef55df39191662a5dd968b8da4d29fee9
tree889e3e7926759358096637c68af84fcd15e20746
parent92d760d010265ffd7f9d75a3b1649dbb985c7405
New buffer API; the first installment of the conversion/replacement
of OpenSSH's internals to make them usable as a standalone library.

This includes a set of wrappers to make it compatible with the
existing buffer API so replacement can occur incrementally.

With and ok markus@

Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew
Dempsky and Ron Bowes for a detailed review.
13 files changed:
usr.bin/ssh/bufaux.c
usr.bin/ssh/bufbn.c
usr.bin/ssh/bufec.c
usr.bin/ssh/buffer.c
usr.bin/ssh/buffer.h
usr.bin/ssh/lib/Makefile
usr.bin/ssh/sshbuf-getput-basic.c [new file with mode: 0644]
usr.bin/ssh/sshbuf-getput-crypto.c [new file with mode: 0644]
usr.bin/ssh/sshbuf-misc.c [new file with mode: 0644]
usr.bin/ssh/sshbuf.c [new file with mode: 0644]
usr.bin/ssh/sshbuf.h [new file with mode: 0644]
usr.bin/ssh/ssherr.c [new file with mode: 0644]
usr.bin/ssh/ssherr.h [new file with mode: 0644]