Skip to content
Snippets Groups Projects
Commit 62e431b4 authored by Niels Möller's avatar Niels Möller
Browse files

* 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
parent e3e5eb76
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment