|
00599364
|
2008-05-19T19:32:00
|
|
Sync gnulib base64 with coreutils base64.
* lib/base64.c (base64_decode_ctx): If a decode context structure
was passed in use it to ignore newlines. If a context structure
was _not_ passed in, continue to treat newlines as garbage (this
is the historical behavior). Formerly base64_decode.
(base64_decode_alloc_ctx): Formerly base64_decode_alloc. Now
takes a decode context structure.
* lib/base64.h (base64_decode): Macro for four-argument calls.
(base64_decode_alloc): Likewise.
* lib/base64.c (base64_decode_ctx): If a decode context structure
was passed in use it to ignore newlines. If a context structure
was _not_ passed in, continue to treat newlines as garbage (this
is the historical behavior). Formerly base64_decode.
(base64_decode_alloc_ctx): Formerly base64_decode_alloc. Now
takes a decode context structure.
* lib/base64.h (base64_decode): Macro for four-argument calls.
(base64_decode_alloc): Likewise.
|
|
a42e0dae
|
2006-10-29T21:52:55
|
|
* lib/arcfour.c: Assume config.h.
* lib/arctwo.c: Likewise.
* lib/base64.c: Likewise.
* lib/check-version.c: Likewise.
* lib/crc.c: Likewise.
* lib/des.c: Likewise.
* lib/gc-gnulib.c: Likewise.
* lib/gc-libgcrypt.c: Likewise.
* lib/gc-pbkdf2-sha1.c: Likewise.
* lib/getaddrinfo.c: Likewise.
* lib/getdelim.c: Likewise.
* lib/getline.c: Likewise.
* lib/hmac-md5.c: Likewise.
* lib/hmac-sha1.c: Likewise.
* lib/iconvme.c: Likewise.
* lib/md2.c: Likewise.
* lib/md4.c: Likewise.
* lib/memxor.c: Likewise.
* lib/read-file.c: Likewise.
* lib/readline.c: Likewise.
* lib/rijndael-alg-fst.c: Likewise.
* lib/rijndael-api-fst.c: Likewise.
* lib/xgetdomainname.c: Likewise.
|
|
cd39f4a8
|
2006-06-26T21:30:03
|
|
* base64.c (B64): Use _ as the formal parameter, not x, to avoid
bug in IBM C V6 for AIX.
|
|
e11dc9d0
|
2006-04-19T14:30:15
|
|
Doc fix.
|
|
21fe180b
|
2006-04-18T22:25:51
|
|
Doc fix.
|
|
8197f4df
|
2006-03-24T15:48:02
|
|
Doc fix.
|
|
cb3daf31
|
2006-03-24T14:08:19
|
|
2006-03-24 Simon Josefsson <jas@extundo.com>
* base64.c: Fix problems reported by Eric Blake <ebb9@byu.net>,
including some doc fixes.
(base64_encode_alloc): Fix +1 bug on allocation failures.
|
|
e12ea14e
|
2006-03-24T12:36:06
|
|
2006-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* base64.c (base64_encode): Do not read past end of array with
unsanitized input on systems with CHAR_BIT > 8.
|
|
9f77158b
|
2006-03-24T11:02:19
|
|
Line wrap.
|
|
d4b2af84
|
2006-01-12T08:59:35
|
|
Fix warning, reported by Bruno Haible <bruno@clisp.org> and patch by
Paul Eggert <eggert@CS.UCLA.EDU>.
|
|
3a70427e
|
2005-09-13T08:04:11
|
|
2005-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
* lib/base64.c: Typo.
(base64_encode): Put b64str in initialized data section.
|
|
1eccb9eb
|
2005-06-27T22:05:57
|
|
2005-06-28 Simon Josefsson <jas@extundo.com>
* base64.c (base64_encode): Indent. Rename 'b64' to avoid
collision with global variable. Better indentation. Don't
increment buffer pointer beyond buffer end. Based on comments
from Paul Eggert <eggert@cs.ucla.edu>.
* base64.h: Indent.
|
|
267a39ba
|
2005-05-14T06:03:57
|
|
*** empty log message ***
|
|
22c4089b
|
2005-01-20T12:22:11
|
|
* base64.h (isbase64): Add.
* base64.c (isb64): Rename to isbase64, use to_uchar instead of
using a unsigned prototype, don't inline.
(base64_decode): Use it.
|
|
112ca20e
|
2004-11-30T20:46:52
|
|
Add base64.
|