History log of /openssh-portable/sshbuf-getput-basic.c (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: V_8_6_P1, V_8_5_P1, V_8_4_P1
# ea547eb0 04-Jun-2020 djm@openbsd.org

upstream: make sshbuf_putb(b, NULL) a no-op

OpenBSD-Commit-ID: 976fdc99b500e347023d430df372f31c1dd128f7


Revision tags: V_8_3_P1, V_8_2_P1
# 612b1dd1 13-Dec-2019 djm@openbsd.org

upstream: allow sshbuf_put_stringb(buf, NULL); ok markus@

OpenBSD-Commit-ID: 91482c1ada9adb283165d48dafbb88ae91c657bd


Revision tags: V_8_1_P1
# cfc1897a 08-Oct-2019 Damien Miller

wrap stdint.h include in HAVE_STDINT_H

make the indenting a little more consistent too..

Fixes Solaris 2.6; reported by Tom G. Christensen


# be02d7cb 06-Sep-2019 djm@openbsd.org

upstream: lots of things were relying on libcrypto headers to

transitively include various system headers (mostly stdlib.h); include them
explicitly

OpenBSD-Commit-ID: 5b522f4f2d844f78bf1cc4f3f4cc3

upstream: lots of things were relying on libcrypto headers to

transitively include various system headers (mostly stdlib.h); include them
explicitly

OpenBSD-Commit-ID: 5b522f4f2d844f78bf1cc4f3f4cc392e177b2080

show more ...


# 101d1647 14-Jul-2019 djm@openbsd.org

upstream: add some functions to perform random-access read/write

operations inside buffers with bounds checking. Intended to replace manual
pointer arithmetic wherever possible.

feedback and ok mar

upstream: add some functions to perform random-access read/write

operations inside buffers with bounds checking. Intended to replace manual
pointer arithmetic wherever possible.

feedback and ok markus@

OpenBSD-Commit-ID: 91771fde7732738f1ffed078aa5d3bee6d198409

show more ...


Revision tags: V_8_0_P1, V_7_9_P1, V_7_8_P1, V_7_7_P1, V_7_6_P1
# 4b2e2d3f 01-Jun-2017 djm@openbsd.org

upstream commit

fix casts re constness

Upstream-ID: e38f2bac162b37dbaf784d349c8327a6626fa266


Revision tags: V_7_5_P1, V_7_4_P1, V_7_3_P1
# 5abfb15c 15-Jul-2016 Darren Tucker

Move VA_COPY macro into compat header.

Some AIX compilers unconditionally undefine va_copy but don't set it back
to an internal function, causing link errors. In some compat code we
already use VA_

Move VA_COPY macro into compat header.

Some AIX compilers unconditionally undefine va_copy but don't set it back
to an internal function, causing link errors. In some compat code we
already use VA_COPY instead so move the two existing instances into the
shared header and use for sshbuf-getput-basic.c too. Should fix building
with at lease some versions of AIX's compiler. bz#2589, ok djm@

show more ...


# 9816fc5d 16-Jun-2016 dtucker@openbsd.org

upstream commit

Include stdarg.h for va_copy as per man page.

Upstream-ID: 105d6b2f1af2fbd9d91c893c436ab121434470bd


Revision tags: V_7_2_P2, V_7_2_P1, V_7_1_P2
# 7d6c0362 20-Oct-2015 mmcc@openbsd.org

upstream commit

Compare pointers to NULL rather than 0.

ok djm@

Upstream-ID: 21616cfea27eda65a06e772cc887530b9a1a27f8


Revision tags: V_7_1_P1, V_7_0_P1, V_6_9_P1, V_6_8_P1
# a165bab6 14-Jan-2015 djm@openbsd.org

upstream commit

avoid BIGNUM in KRL code by using a simple bitmap;
feedback and ok markus


# a7f49dcb 12-Jan-2015 djm@openbsd.org

upstream commit

apparently memcpy(x, NULL, 0) is undefined behaviour
according to C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls
when length==0; ok markus@


# 74de254b 03-Dec-2014 djm@openbsd.org

upstream commit

convert KRL code to new buffer API

ok markus@


Revision tags: V_6_7_P1
# e5b9f0f2 15-May-2014 Damien Miller

- (djm) [Makefile.in configure.ac sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf.c] compilation and portability fixes


# 05e82c3b 15-May-2014 Damien Miller

- djm@cvs.openbsd.org 2014/04/30 05:29:56
[bufaux.c bufbn.c bufec.c buffer.c buffer.h sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c sshbuf.h ssherr.c]
[ssherr.h

- djm@cvs.openbsd.org 2014/04/30 05:29:56
[bufaux.c bufbn.c bufec.c buffer.c buffer.h sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c sshbuf.h ssherr.c]
[ssherr.h]
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.

show more ...