From f8b8027ae63c957557ed6bdc7e5a30ef1bdd8e77 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 23 Jun 2016 09:48:54 +0200 Subject: core: Add a base 64 decoder. * src/b64dec.c: New. Taken from gnupg. Prefix function names with _gpgme_ and change to use standard C malloc functions. * src/util.h.h (struct b64state): New. * src/Makefile.am (main_sources): Add file. -- The file b64dec.c has been taken from gnupg commit e430ff6ad0b7dcfcebd92b825dd5168205447ff3 Signed-off-by: Werner Koch --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 951fc00b..6691540b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -74,7 +74,7 @@ endif # right linking order with libtool, as the non-installed version has # unresolved symbols to the thread module. main_sources = \ - util.h conversion.c get-env.c context.h ops.h \ + util.h conversion.c b64dec.c get-env.c context.h ops.h \ parsetlv.c parsetlv.h \ data.h data.c data-fd.c data-stream.c data-mem.c data-user.c \ data-compat.c data-identify.c \ -- cgit v1.2.3