summaryrefslogtreecommitdiff
path: root/include/apr_md5.h
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-05-18 19:36:15 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-05-18 19:36:15 +0000
commitb3450da7303f99e56f38e3f869ce84f6dcb693e9 (patch)
tree3331a21c5b89e91dccf9bf9651b58b550a88974c /include/apr_md5.h
parent20eb0e41657c693e42adb632a7a107afbc9fea46 (diff)
downloadlibapr-b3450da7303f99e56f38e3f869ce84f6dcb693e9.tar.gz
Provide a dummy implementation of ap_MD5SetXlate() on
platforms where APR doesn't implement character set translation. This is in the same style as the dummy routines in apr_xlate.h. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_md5.h')
-rw-r--r--include/apr_md5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr_md5.h b/include/apr_md5.h
index 4d28d0a62..8bdf1e303 100644
--- a/include/apr_md5.h
+++ b/include/apr_md5.h
@@ -110,6 +110,8 @@ typedef struct {
API_EXPORT(ap_status_t) ap_MD5Init(ap_md5_ctx_t *context);
#if APR_HAS_XLATE
API_EXPORT(ap_status_t) ap_MD5SetXlate(ap_md5_ctx_t *context, ap_xlate_t *xlate);
+#else
+#define ap_MD5SetXlate(context, xlate) APR_ENOTIMPL
#endif
API_EXPORT(ap_status_t) ap_MD5Update(ap_md5_ctx_t *context,
const unsigned char *input,