]> git.pld-linux.org Git - packages/apache-mod_auth_pgsql.git/commitdiff
- this apr symbols fix is obsolete
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 11 Jan 2006 14:24:11 +0000 (14:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_auth_pgsql.patch -> 1.2

apache-mod_auth_pgsql.patch [deleted file]

diff --git a/apache-mod_auth_pgsql.patch b/apache-mod_auth_pgsql.patch
deleted file mode 100644 (file)
index c53fcef..0000000
+++ /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);
This page took 0.139877 seconds and 4 git commands to generate.