summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-03-22 17:20:52 +0100
committerWerner Koch <wk@gnupg.org>2018-03-22 17:38:24 +0100
commitffc8f805165a13d16ed227051c59d732117ec9d4 (patch)
tree61c75b91c4da65929381313489c7e00715015cea /src/Makefile.am
parentb3df10d6620894bc4047af1e14239b258e440803 (diff)
downloadlibgpg-error-ffc8f805165a13d16ed227051c59d732117ec9d4.tar.gz
core: Add Base-64 encoder.
* src/b64enc.c: Change to fit into libgpg-error. * src/Makefile.am: Add b64enc.c * src/b64dec.c: Use xtrymalloc etc. Always use gpg_err_code_t. (_gpgrt_b64dec_start): Set decoder flag (_gpgrt_b64dec_finish): Check for conflict. (_gpgrt_b64state): Move to ... * src/gpgrt-int.h: here. Add new fields. * src/visibility.c (gpgrt_b64enc_start): New. (gpgrt_b64enc_write): New. (gpgrt_b64enc_finish): New. * src/gpg-error.vers, src/gpg-error.def.in: Add new functions. * src/gpg-error.h.in: Ditto. * src/visibility.h: Ditto. * tests/t-b64dec.c: Remove. * tests/t-b64.c: New. * tests/Makefile.am (TESTS): Replace t-b64dec by t-b64. -- Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 66c4414..42998e4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -190,7 +190,7 @@ libgpg_error_la_SOURCES = gettext.h $(arch_sources) \
sysutils.c \
syscall-clamp.c \
logging.c \
- b64dec.c \
+ b64dec.c b64enc.c \
argparse.c