summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshbuf-getput-basic.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make sshbuf_putb(b, NULL) a no-opdjm2020-06-051-1/+3
|
* allow sshbuf_put_stringb(buf, NULL); ok markus@djm2019-12-131-1/+4
|
* lots of things were relying on libcrypto headers to transitivelydjm2019-09-061-1/+2
| | | | | include various system headers (mostly stdlib.h); include them explicitly
* add some functions to perform random-access read/write operationsdjm2019-07-141-1/+162
| | | | | | | inside buffers with bounds checking. Intended to replace manual pointer arithmetic wherever possible. feedback and ok markus@
* fix casts re constnessdjm2017-06-011-2/+2
|
* Include stdarg.h for va_copy as per man page.dtucker2016-06-161-1/+3
|
* Compare pointers to NULL rather than 0.mmcc2015-10-201-4/+4
| | | | ok djm@
* avoid BIGNUM in KRL code by using a simple bitmap;djm2015-01-141-1/+37
| | | | feedback and ok markus
* apparently memcpy(x, NULL, 0) is undefined behaviour according todjm2015-01-121-7/+12
| | | | | C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls when length==0; ok markus@
* convert KRL code to new buffer APIdjm2014-12-041-2/+2
| | | | ok markus@
* New buffer API; the first installment of the conversion/replacementdjm2014-04-301-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.