laurencelundblade / QCBOR

Comprehensive, powerful, commercial-quality CBOR encoder/ decoder that is still suited for small devices.
Other
181 stars 47 forks source link

QCBOREncode_Finish() should set internal error state #217

Closed laurencelundblade closed 4 months ago

laurencelundblade commented 4 months ago

QCBOREncode_Finish performs some checks and may result in an error. Normally callers rely on the return code from Finish, but in case they rely on GetError, Finish should set the internal error state.

laurencelundblade commented 4 months ago

Fixed by #218