Fix last commit.

Also add uses where mr is the attribute's equality rule.
This commit is contained in:
Kurt Zeilenga 2002-08-31 19:17:54 +00:00
parent 2908cdff11
commit d6ac7ac544

View file

@ -355,7 +355,9 @@ matching_rule_use_init( void )
at = NULL;
for ( at_start( &at ); at; at_next( &at ) ) {
if( mr->smr_syntax == at->sat_syntax ) {
if( mr->smr_syntax == at->sat_syntax ||
mr == at->sat_equality )
{
ldap_charray_add( &applies_oids, at->sat_cname.bv_val );
}
}