Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: My take on the license issues with base64.c

From: Andrew Francis <>
Date: Fri, 3 Aug 2001 22:17:23 +0800 (WST)

On Fri, 3 Aug 2001, Daniel Stenberg wrote:
> 1 - I had to edit it to compile with a C compiler (C++ code removed).
> 2 - Using Andrew's code makes test case 3 (and more) fail due to a badly
> constructed base64 sequence (input string "fake:-user" without quotes):
> Original curl code output:
> Authorization: Basic ZmFrZTotdXNlcg==
> Andrew's code output:
> Authorization: Basic ZmFrZTotdXNlcgAA==
> I fixed this by re-adding my original encoder, found in lib/base64.c 1.4


For some reason it didn't occur to me to use the test suite that comes
with curl - given that it's there, maybe delete the test stuff that's
#ifdef'd out at the bottom of base64.c?

> 3 - I edited the source header. Is this okay with you Andrew?

That's fine :)

Andrew Francis
Curl-library mailing list
Received on 2001-08-03

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET