summaryrefslogtreecommitdiffstats
path: root/server/util_md5.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>1999-08-31 07:35:52 +0200
committerRyan Bloom <rbb@apache.org>1999-08-31 07:35:52 +0200
commitc37f14ddf32319a7d84a9b573a54ccde8f37c5ff (patch)
tree1f1dd08b2e53226b3b3363beee02eeb57a8061ca /server/util_md5.c
parentForgot this hook... (diff)
downloadapache2-c37f14ddf32319a7d84a9b573a54ccde8f37c5ff.tar.xz
apache2-c37f14ddf32319a7d84a9b573a54ccde8f37c5ff.zip
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
check this out tomorrow and make sure everything was checked in correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83852 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_md5.c')
-rw-r--r--server/util_md5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/util_md5.c b/server/util_md5.c
index f1a9564d99..d59c717eaa 100644
--- a/server/util_md5.c
+++ b/server/util_md5.c
@@ -87,7 +87,7 @@
#include "httpd.h"
#include "util_md5.h"
-API_EXPORT(char *) ap_md5_binary(pool *p, const unsigned char *buf, int length)
+API_EXPORT(char *) ap_md5_binary(ap_context_t *p, const unsigned char *buf, int length)
{
const char *hex = "0123456789abcdef";
AP_MD5_CTX my_md5;
@@ -112,7 +112,7 @@ API_EXPORT(char *) ap_md5_binary(pool *p, const unsigned char *buf, int length)
return ap_pstrdup(p, result);
}
-API_EXPORT(char *) ap_md5(pool *p, const unsigned char *string)
+API_EXPORT(char *) ap_md5(ap_context_t *p, const unsigned char *string)
{
return ap_md5_binary(p, string, (int) strlen((char *)string));
}
@@ -162,7 +162,7 @@ API_EXPORT(char *) ap_md5(pool *p, const unsigned char *string)
static char basis_64[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-API_EXPORT(char *) ap_md5contextTo64(pool *a, AP_MD5_CTX * context)
+API_EXPORT(char *) ap_md5contextTo64(ap_context_t *a, AP_MD5_CTX * context)
{
unsigned char digest[18];
char *encodedDigest;
@@ -189,7 +189,7 @@ API_EXPORT(char *) ap_md5contextTo64(pool *a, AP_MD5_CTX * context)
#ifdef CHARSET_EBCDIC
-API_EXPORT(char *) ap_md5digest(pool *p, APRFile infile, int convert)
+API_EXPORT(char *) ap_md5digest(ap_context_t *p, APRFile infile, int convert)
{
AP_MD5_CTX context;
unsigned char buf[1000];
@@ -212,7 +212,7 @@ API_EXPORT(char *) ap_md5digest(pool *p, APRFile infile, int convert)
#else
-API_EXPORT(char *) ap_md5digest(pool *p, APRFile infile)
+API_EXPORT(char *) ap_md5digest(ap_context_t *p, APRFile infile)
{
AP_MD5_CTX context;
unsigned char buf[1000];