[LIBGPG-ERROR] Add Base64 decoder

Werner Koch wk at gnupg.org
Mon Jan 30 18:39:26 CET 2017


On Mon, 30 Jan 2017 05:54, gniibe at fsij.org said:

> +++ b/src/gpg-error.h.in

> +struct b64state
> +{
> +  int idx;
> +  int quad_count;
> +  char *title;
> +  unsigned char radbuf[4];
> +  int stop_seen:1;
> +  int invalid_encoding:1;
> +  gpg_error_t lasterr;
> +};

We should hide that structure form the public API.  I did this in GnuPG
only for simplicity.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170130/edc995e5/attachment.sig>


More information about the Gnupg-devel mailing list