summaryrefslogtreecommitdiff
path: root/include/util_md5.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-05-11 02:32:05 +0000
committerJeff Trawick <trawick@apache.org>2000-05-11 02:32:05 +0000
commit5e0e87ef86c76d8254011a0a3f4f51c4ce92c017 (patch)
treeee32ddd8b40cb46e93b77b7e9a21eab0ebee0445 /include/util_md5.h
parent34ecfec8d0e4bc34d3788eaf2098431619a65744 (diff)
downloadhttpd-5e0e87ef86c76d8254011a0a3f4f51c4ce92c017.tar.gz
EBCDIC: Update util_md5.c routines to use APR-ized ap_MD5*()
routines. As in 1.3, ap_md5digest() has a different function signature when CHARSET_EBCDIC is defined :( git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85182 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_md5.h')
-rw-r--r--include/util_md5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util_md5.h b/include/util_md5.h
index 5f03ccfa3e..17afb7c542 100644
--- a/include/util_md5.h
+++ b/include/util_md5.h
@@ -68,7 +68,12 @@ extern "C" {
API_EXPORT(char *) ap_md5(ap_pool_t *a, const unsigned char *string);
API_EXPORT(char *) ap_md5_binary(ap_pool_t *a, const unsigned char *buf, int len);
API_EXPORT(char *) ap_md5contextTo64(ap_pool_t *p, ap_md5_ctx_t *context);
+#ifdef CHARSET_EBCDIC
+API_EXPORT(char *) ap_md5digest(ap_pool_t *p, ap_file_t *infile,
+ ap_xlate_t *xlate);
+#else
API_EXPORT(char *) ap_md5digest(ap_pool_t *p, ap_file_t *infile);
+#endif
#ifdef __cplusplus
}