CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/06/18 12:50:07
Modified files:
usr.sbin/acme-client: json.c
Log message:
When the parser detects that it needs more tokens it returns
JSMN_ERROR_NOMEM.
We then need to allocate more tokens and call the parser with its
current state again. It will continue where it left of.
For this to work we also need to pass in the old tokens from the
previous run and not just more space.
Found the hard way by Renaud Allard.
OK millert
