From da5e3429fbebdf6298b2cb11b689ee4bfea77008 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 11 Jan 2006 14:24:11 +0000 Subject: [PATCH] - this apr symbols fix is obsolete Changed files: apache-mod_auth_pgsql.patch -> 1.2 --- apache-mod_auth_pgsql.patch | 41 ------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 apache-mod_auth_pgsql.patch diff --git a/apache-mod_auth_pgsql.patch b/apache-mod_auth_pgsql.patch deleted file mode 100644 index c53fcef..0000000 --- a/apache-mod_auth_pgsql.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -uNdr mod_auth_pgsql-2.0.2b1.old/mod_auth_pgsql.c mod_auth_pgsql-2.0.2b1/mod_auth_pgsql.c ---- mod_auth_pgsql-2.0.2b1.old/mod_auth_pgsql.c 2003-10-06 10:45:59.000000000 +0200 -+++ mod_auth_pgsql-2.0.2b1/mod_auth_pgsql.c 2004-10-30 21:22:24.000000000 +0200 -@@ -88,7 +88,6 @@ - - #include "apr_hooks.h" - #include "apr.h" --#include "apr_compat.h" - #include "apr_lib.h" - #include "apr_strings.h" - #include "apr_buckets.h" -@@ -449,16 +448,16 @@ - char *auth_pg_md5(char *pw) - { - apr_md5_ctx_t ctx; -- unsigned char digest[MD5_DIGESTSIZE]; -- static unsigned char md5hash[MD5_DIGESTSIZE * 2 + 1]; -+ unsigned char digest[APR_MD5_DIGESTSIZE]; -+ static unsigned char md5hash[APR_MD5_DIGESTSIZE * 2 + 1]; - int i; - - apr_md5(digest, (const unsigned char *) pw, strlen(pw)); - -- for (i = 0; i < MD5_DIGESTSIZE; i++) -+ for (i = 0; i < APR_MD5_DIGESTSIZE; i++) - apr_snprintf((char *) &md5hash[i + i], 3, "%02x", digest[i]); - -- md5hash[MD5_DIGESTSIZE * 2] = '\0'; -+ md5hash[APR_MD5_DIGESTSIZE * 2] = '\0'; - return (char *) md5hash; - } - -@@ -631,7 +630,7 @@ - return NULL; - } - -- if (!(result = (char *) ap_palloc(r->pool, strlen(val) + 1))) { -+ if (!(result = (char *) apr_palloc(r->pool, strlen(val) + 1))) { - apr_snprintf(pg_errstr, MAX_STRING_LEN, - "Could not get memory for Postgres query."); - PQclear(pg_result); -- 2.43.0