14 Commits
Author SHA1 Message Date
Eric Blake a42e0dae2f * 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.
2006-10-29 21:52:55 +00:00
Paul Eggert cd39f4a8bc * base64.c (B64): Use _ as the formal parameter, not x, to avoid
bug in IBM C V6 for AIX.
2006-06-26 21:30:03 +00:00
Simon Josefsson e11dc9d0f6 Doc fix. 2006-04-19 14:30:15 +00:00
Simon Josefsson 21fe180be9 Doc fix. 2006-04-18 22:25:51 +00:00
Simon Josefsson 8197f4df63 Doc fix. 2006-03-24 15:48:02 +00:00
Simon Josefsson cb3daf3159 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.
2006-03-24 14:08:19 +00:00
Simon Josefsson e12ea14e1c 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.
2006-03-24 12:36:06 +00:00
Simon Josefsson 9f77158ba8 Line wrap. 2006-03-24 11:02:19 +00:00
Simon Josefsson d4b2af840d Fix warning, reported by Bruno Haible <bruno@clisp.org> and patch by
Paul Eggert <eggert@CS.UCLA.EDU>.
2006-01-12 08:59:35 +00:00
Simon Josefsson 3a70427ed5 2005-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
* lib/base64.c: Typo.
	(base64_encode): Put b64str in initialized data section.
2005-09-13 08:04:11 +00:00
Simon Josefsson 1eccb9ebfa 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.
2005-06-27 22:05:57 +00:00
Paul Eggert 267a39bafd *** empty log message *** 2005-05-14 06:03:57 +00:00
Simon Josefsson 22c4089b34 * 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.
2005-01-20 12:22:11 +00:00
Simon Josefsson 112ca20edb Add base64. 2004-11-30 20:46:52 +00:00