Robert Augusteijn <[email protected]> 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

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to