libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Unique names for MD5 and SHA256 functions


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Unique names for MD5 and SHA256 functions
Date: Mon, 3 Jun 2019 23:46:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Sure, makes sense.

Just to clarify: usually these symbols shouldn't even be exported by the
library, but I guess the linker may not support this on some platforms,
so the change still makes sense.

Fixed in Git bf7c90c3..603ecd85

Happy hacking!

Christian

On 6/3/19 9:20 AM, address@hidden wrote:
> Hi to all.
> 
> I updated to the latest version 0.9.63.
> This version caused some trouble with duplicated symbols in the newly
> introduced hash methods sha256_init and sha256_update.
> I want to ask if it is possible to use unique (MHD specific) names for
> them?
> 
> I attached a patch that introduce MHD_* as a preamble for the functions.
> To have a consistent name convention, I also renamed the MD5 hash
> functions.
> 
> It would be great for the compatibilty with other hashing libraries if
> this suggestion could be applied.
> 
> Kind regards,
> Dirk Brinkmeier.
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]