Make the ober_get_* set of function to accept a NULL-pointer.
authormartijn <martijn@openbsd.org>
Mon, 22 Feb 2021 17:15:02 +0000 (17:15 +0000)
committermartijn <martijn@openbsd.org>
Mon, 22 Feb 2021 17:15:02 +0000 (17:15 +0000)
commit561e0011345f2bdbf415cc64b5f82e69e3ad1a7f
tree01c5f27fed77d40821b6917f847f25c19e93b2bb
parent66da90e6e17d3cca9d0160e6e289cdd3f4e39fbe
Make the ober_get_* set of function to accept a NULL-pointer.
This allows us to do ber-type checking inside ober_scanf_elements, which
will allow for stricter ASN.1 parsing in the future.

Manpage feedback and OK claudio@, jmc@
OK claudio@
lib/libutil/ber.c
lib/libutil/ober_get_string.3