summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-17 00:01:26 +0000
committerYang Tse <yangsita@gmail.com>2008-08-17 00:01:26 +0000
commitbbe2386bff61acf0105806959b7f56a4a12db86e (patch)
tree3d927496ede926ce3acf0477413b1f452558a5d7 /lib
parent2f47248e3c7e542d0590a8802a81916970f9a6d5 (diff)
downloadcurl-bbe2386bff61acf0105806959b7f56a4a12db86e.tar.gz
libcurl internal md5.h header file renamed to curl_md5.h
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.Watcom4
-rw-r--r--lib/Makefile.inc4
-rw-r--r--lib/curl_md5.h (renamed from lib/md5.h)6
-rw-r--r--lib/http_digest.c2
-rw-r--r--lib/md5.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index 4a0b093be..5088875ae 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -343,10 +343,10 @@ $(OBJ_DIR)\http_digest.obj: http_digest.c setup.h config-win32.h &
..\include\curl\curlrules.h ..\include\curl\easy.h &
..\include\curl\multi.h ..\include\curl\curl.h formdata.h timeval.h &
http_chunks.h hostip.h hash.h llist.h splay.h sendf.h strequal.h &
- base64.h md5.h http_digest.h strtok.h url.h memory.h easyif.h &
+ base64.h curl_md5.h http_digest.h strtok.h url.h memory.h easyif.h &
..\include\curl\mprintf.h memdebug.h
$(OBJ_DIR)\md5.obj: md5.c setup.h config-win32.h ..\include\curl\curlbuild.h &
- ..\include\curl\curlrules.h setup_once.h md5.h
+ ..\include\curl\curlrules.h setup_once.h curl_md5.h
$(OBJ_DIR)\http_negotiate.obj: http_negotiate.c setup.h config-win32.h &
..\include\curl\curlbuild.h ..\include\curl\curlrules.h setup_once.h
$(OBJ_DIR)\http_ntlm.obj: http_ntlm.c setup.h config-win32.h &
diff --git a/lib/Makefile.inc b/lib/Makefile.inc
index 875e56754..414e1d342 100644
--- a/lib/Makefile.inc
+++ b/lib/Makefile.inc
@@ -15,8 +15,8 @@ HHEADERS = arpa_telnet.h netrc.h file.h timeval.h base64.h hostip.h \
progress.h formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h \
if2ip.h speedcheck.h urldata.h curl_ldap.h ssluse.h escape.h telnet.h \
getinfo.h strequal.h krb4.h memdebug.h inet_ntoa_r.h http_chunks.h \
- strtok.h connect.h llist.h hash.h content_encoding.h share.h md5.h \
- http_digest.h http_negotiate.h http_ntlm.h inet_pton.h \
+ strtok.h connect.h llist.h hash.h content_encoding.h share.h \
+ curl_md5.h http_digest.h http_negotiate.h http_ntlm.h inet_pton.h \
strtoofft.h strerror.h inet_ntop.h curlx.h memory.h setup.h \
transfer.h select.h easyif.h multiif.h parsedate.h sslgen.h gtls.h \
tftp.h sockaddr.h splay.h strdup.h setup_once.h socks.h ssh.h nssg.h \
diff --git a/lib/md5.h b/lib/curl_md5.h
index 63cc70e84..19c34fb4d 100644
--- a/lib/md5.h
+++ b/lib/curl_md5.h
@@ -1,5 +1,5 @@
-#ifndef __MD5_H
-#define __MD5_H
+#ifndef __CURL_MD5_H
+#define __CURL_MD5_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
diff --git a/lib/http_digest.c b/lib/http_digest.c
index 14612c527..0132a84e3 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -34,7 +34,7 @@
#include "sendf.h"
#include "strequal.h"
#include "base64.h"
-#include "md5.h"
+#include "curl_md5.h"
#include "http_digest.h"
#include "strtok.h"
#include "url.h" /* for Curl_safefree() */
diff --git a/lib/md5.c b/lib/md5.c
index 92d4bff09..3d54f650d 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -338,7 +338,7 @@ static void Decode (UINT4 *output,
#include <string.h>
#endif
-#include "md5.h"
+#include "curl_md5.h"
void Curl_md5it(unsigned char *outbuffer, /* 16 bytes */
const unsigned char *input)