Here is an updated patch with the CHANGELOG and AUTHORS updated as well as the Install portion of the cmake script.
Patch for CMAKE support and some previous patches applied
In cdecode.c you're using a neat trick to test the high bit of your byte I didn't analyse thoroughly that but there is analogic variable in cencode.c. Does that affect it as well?
I have encountered the same issue and created similar patches. Any chance that these patches get pulled in?
ooooohh, this is a nice patch. wish I'd found it before making several of the same changes... I'd checked 'bugs' but not 'patches' since in my usual experiecne, patches are attached to bugs. Almost didn't look at this one because of the date...
another vote
And, this one does the same thing for decode.
Attaching a better patch which uses a larger default buffer and removes the makefile...
Non-Stream Encoding
In cdecode.c you're using a neat trick to test the high bit of your byte in a number...
In cdecode.c you're using a neat trick to test the high bit of your byte in a number...
The off-by-one error seems to have been already fixed when moving the code from CVS...
Updated patch with off-by-one fixed
This patch doesn't fix the off-by-one error in base64_decode_value that causes undefined...
Correct an array boundry check in cdecode.c