summaryrefslogtreecommitdiffstats
path: root/server/util_md5.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-08-06 08:07:53 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-08-06 08:07:53 +0200
commit1a9db204f578e99486280ebfffada02677b1296a (patch)
treea5ad2bfde21ec22fac957b8a436d1b956a746796 /server/util_md5.c
parentDocument util_charset.h using ScanDoc (diff)
downloadapache2-1a9db204f578e99486280ebfffada02677b1296a.tar.xz
apache2-1a9db204f578e99486280ebfffada02677b1296a.zip
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86008 13f79535-47bb-0310-9956-ffa450edef68
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;