]> git.ipfire.org Git - thirdparty/nettle.git/commit
* base64-decode.c (base64_decode_single): Return -1 on error.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 30 Oct 2002 20:48:01 +0000 (21:48 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 30 Oct 2002 20:48:01 +0000 (21:48 +0100)
commit62e431b4da1d3789ebf1decd5c2a208e893a3813
tree841ac3a16f64ffc99f97ea8481baac258ae63638
parente3e5eb760e03aeca6b863814de4f928e1e343551
* base64-decode.c (base64_decode_single): Return -1 on error.
Also keep track of the number of padding characters ('=') seen.
(base64_decode_update): New argument dst_length. Return -1 on error.
(base64_decode_status):  Renamed function...
(base64_decode_final): ... to this.

* base64.h (struct base64_decode_ctx): Deleted STATUS attribute.
Added PADDING attribute.

Rev: src/nettle/base64-decode.c:1.4
Rev: src/nettle/base64.h:1.11
base64-decode.c
base64.h