svn rev #19010: branches/krb5-1-6/ src/plugins/kdb/ldap/libkdb_ldap/

tlyu@MIT.EDU tlyu at MIT.EDU
Thu Dec 21 23:28:11 EST 2006


Commit By: tlyu
Log Message: 
ticket: 4453
version_fixed: 1.6

pull up r19009 from trunk

 r19009 at cathode-dark-space:  raeburn | 2006-12-21 20:26:59 -0500
 ticket: 4453
 target_version: 1.6
 tags: pullup
 
 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.
 
 




Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
U   branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
U   branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h



More information about the cvs-krb5 mailing list