Robert Augusteijn bugs@augusteijn.com writes:
Hi, the return value of `base64_decode_update()` does not correspond anymore with the documentation.
Following is stated in API documentation: "Returns 1 on success, 0 on error."
[...]
The return value on error is changed from 0 to -1.
Thanks for reporting! I've now commited a fix, to return 0 on failure, as documented. Both base16_decode_update and base64_decode_update where broken in the same way.
Regards, /Niels