summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshbuf-getput-basic.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-05make sshbuf_putb(b, NULL) a no-opdjm1-1/+3
2019-12-13allow sshbuf_put_stringb(buf, NULL); ok markus@djm1-1/+4
2019-09-06lots of things were relying on libcrypto headers to transitivelydjm1-1/+2
include various system headers (mostly stdlib.h); include them explicitly
2019-07-14add some functions to perform random-access read/write operationsdjm1-1/+162
inside buffers with bounds checking. Intended to replace manual pointer arithmetic wherever possible. feedback and ok markus@
2017-06-01fix casts re constnessdjm1-2/+2
2016-06-16Include stdarg.h for va_copy as per man page.dtucker1-1/+3
2015-10-20Compare pointers to NULL rather than 0.mmcc1-4/+4
ok djm@
2015-01-14avoid BIGNUM in KRL code by using a simple bitmap;djm1-1/+37
feedback and ok markus
2015-01-12apparently memcpy(x, NULL, 0) is undefined behaviour according todjm1-7/+12
C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls when length==0; ok markus@
2014-12-04convert KRL code to new buffer APIdjm1-2/+2
ok markus@
2014-04-30New buffer API; the first installment of the conversion/replacementdjm1-0/+419
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.