]> git.ipfire.org Git - thirdparty/nettle.git/commit
Applied patch from Dan Egnor improving the base64 code.
authorDan Egnor <egnor@ofb.net>
Wed, 6 Feb 2002 13:32:56 +0000 (14:32 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 6 Feb 2002 13:32:56 +0000 (14:32 +0100)
commitfbcec4c2704f95e7e23eeda0e6cb8d861ab349df
treea30fd1a66f12d3e153b637185ffc47562f8cd732
parent582374c2409041f12d7515663d862bf4dc28a147
Applied patch from Dan Egnor improving the base64 code.
* base64.h (BASE64_ENCODE_LENGTH): New macro.
(struct base64_ctx): New context struct, for decoding.
(BASE64_DECODE_LENGTH): New macro.
* base64.c (base64_decode_init): New function.
(base64_decode_update): New function, replacing base64_decode.
Takes a struct base64_ctx argument.
* nettle-meta.h: Updated nettle_armor, and related typedefs and
macros.
* configure.in: Use AC_PREREQ(2.50).

Rev: src/nettle/nettle-meta.h:1.4
nettle-meta.h