mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-08 16:04:47 -05:00
...
This commit is contained in:
parent
870f869dfb
commit
7b7676a9fa
1 changed files with 8 additions and 5 deletions
|
|
@ -396,13 +396,16 @@ matching_rule_use_init( void )
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
int mr_usable_with_at(
|
||||
MatchingRule *mr,
|
||||
AttributeType *at )
|
||||
int
|
||||
mr_usable_with_at(
|
||||
MatchingRule *mr,
|
||||
AttributeType *at )
|
||||
{
|
||||
if( mr->smr_usage & SLAP_MR_EXT && (
|
||||
if ( ( mr->smr_usage & SLAP_MR_EXT ) && (
|
||||
mr->smr_syntax == at->sat_syntax ||
|
||||
mr == at->sat_equality || mr == at->sat_approx ) )
|
||||
mr == at->sat_equality ||
|
||||
mr == at->sat_approx ||
|
||||
syn_is_sup( at->sat_syntax, mr->smr_syntax ) ) )
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue