summaryrefslogtreecommitdiffstats
path: root/server/util_md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/util_md5.c')
-rw-r--r--server/util_md5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/util_md5.c b/server/util_md5.c
index 97104b6399..32c1d2e41d 100644
--- a/server/util_md5.c
+++ b/server/util_md5.c
@@ -95,7 +95,7 @@
API_EXPORT(char *) ap_md5_binary(apr_pool_t *p, const unsigned char *buf, int length)
{
const char *hex = "0123456789abcdef";
- ap_md5_ctx_t my_md5;
+ apr_md5_ctx_t my_md5;
unsigned char hash[MD5_DIGESTSIZE];
char *r, result[33];
int i;
@@ -170,7 +170,7 @@ API_EXPORT(char *) ap_md5(apr_pool_t *p, const unsigned char *string)
static char basis_64[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-API_EXPORT(char *) ap_md5contextTo64(apr_pool_t *a, ap_md5_ctx_t *context)
+API_EXPORT(char *) ap_md5contextTo64(apr_pool_t *a, apr_md5_ctx_t *context)
{
unsigned char digest[18];
char *encodedDigest;
@@ -200,7 +200,7 @@ API_EXPORT(char *) ap_md5contextTo64(apr_pool_t *a, ap_md5_ctx_t *context)
API_EXPORT(char *) ap_md5digest(apr_pool_t *p, apr_file_t *infile,
apr_xlate_t *xlate)
{
- ap_md5_ctx_t context;
+ apr_md5_ctx_t context;
unsigned char buf[1000];
long length = 0;
int nbytes;
@@ -223,7 +223,7 @@ API_EXPORT(char *) ap_md5digest(apr_pool_t *p, apr_file_t *infile,
API_EXPORT(char *) ap_md5digest(apr_pool_t *p, apr_file_t *infile)
{
- ap_md5_ctx_t context;
+ apr_md5_ctx_t context;
unsigned char buf[1000];
long length = 0;
apr_ssize_t nbytes;