pkgsrc/security/courier-authlib/patches/patch-ad
jlam 55592c3715 Update security/courier-authlib to 0.60.1. Changes from version 0.59.3
include:

* MYSQL_CHARACTER_SET option.

* Allow underscores, colons and plusses, in account names.

* Add {MD5RAW} hash method.

* Fix runtime problems with hardcoded file descriptors in the daemon
  code by using OPEN_MAX instead.
2007-10-15 15:37:01 +00:00

22 lines
520 B
Text

$NetBSD: patch-ad,v 1.2 2007/10/15 15:37:01 jlam Exp $
--- authldaplib.c.orig Sat Jan 20 17:03:22 2007
+++ authldaplib.c
@@ -126,7 +126,7 @@ authldap_free_config removed - no longer
static char **l_get_values(LDAP *ld, LDAPMessage *entry, const char *attribut)
{
struct berval **p=ldap_get_values_len(ld, entry, attribut);
- int n;
+ int i, n;
char **a;
if (!p)
@@ -143,8 +143,6 @@ static char **l_get_values(LDAP *ld, LDA
ldap_value_free_len(p);
return NULL;
}
-
- int i;
for (i=0; i<n; i++)
{