Some related changes were already in, and I found a couple more to make:
authorKen Raeburn <raeburn@mit.edu>
Fri, 22 Dec 2006 01:26:59 +0000 (01:26 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 22 Dec 2006 01:26:59 +0000 (01:26 +0000)
commitab418878a411f17be489dab8c4bb30652f8a1519
treea460eb6bddf4dba705fa2438462f0cd3497b0af3
parentf34e68770ae0e1ae75a990fb220b748110c91f84
Some related changes were already in, and I found a couple more to make:

* ldap_realm.c (ldap_filter_correct): Change string argument to char *.  Delete
length argument, which was always strlen of the string argument, and compute
it locally, using size_t instead of (unsigned) int for length-related values.
Update all calls.

* ldap_realm.h (ldap_filter_correct): Updated declaration.

* ldap_misc.c (remove_overlapping_subtrees): Add forward declaration.  Make
static.
(is_principal_in_realm): Change local variable defrealmlen to size_t.
(store_tl_data): Change local variable curr to point to unsigned char, since
that's what the tl_data_contents array is declared as, and what the STORE16_INT
macro is happier with.
(krb5_ldap_get_reference_count): Make local variable i unsigned.

ticket: 4453
target_version: 1.6
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19009 dc483132-0cff-0310-8789-dd5450dbe970
src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h