]> granicus.if.org Git - curl/commit
Fixed compile error with GNUTLS+NETTLE
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Tue, 22 May 2012 13:49:40 +0000 (22:49 +0900)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 May 2012 14:40:09 +0000 (16:40 +0200)
commit6cc066a2c57e39306e7be538826fd4e17a8fa102
tree6a0d115b129d70dad7d959635ffb1abe81917ed2
parent0fd7fa7daf39e902e9f09d1133e01658e75312cc
Fixed compile error with GNUTLS+NETTLE

In nettle/md5.h, md5_init and md5_update are defined as macros to
nettle_md5_init and nettle_md5_update respectively.  This causes
error when using MD5_params.md5_init and md5_update.  This patch
renames these members as md5_init_func and md5_update_func to
avoid name conflict. For completeness, MD5_params.md5_final was
also renamed as md5_final_func.

The changes in curl_ntlm_core.c is conversion error and fixed by
casting to proper type.
lib/curl_md5.h
lib/curl_ntlm_core.c
lib/md5.c