mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
other->invalid
This commit is contained in:
parent
a35d5b90fc
commit
3f2faa1a84
1 changed files with 6 additions and 4 deletions
|
|
@ -310,8 +310,8 @@ inValidate(
|
|||
Syntax *syntax,
|
||||
struct berval *in )
|
||||
{
|
||||
/* any value allowed */
|
||||
return LDAP_OTHER;
|
||||
/* no value allowed */
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
@ -776,7 +776,8 @@ approxMatch(
|
|||
}
|
||||
|
||||
/* Yes, this is necessary */
|
||||
assertv = UTF8bvnormalize( ((struct berval *)assertedValue), NULL, LDAP_UTF8_APPROX );
|
||||
assertv = UTF8bvnormalize( ((struct berval *)assertedValue),
|
||||
NULL, LDAP_UTF8_APPROX );
|
||||
if( assertv == NULL ) {
|
||||
ber_bvfree( nval );
|
||||
*matchp = 1;
|
||||
|
|
@ -933,7 +934,8 @@ approxFilter(
|
|||
BerVarray keys;
|
||||
|
||||
/* Yes, this is necessary */
|
||||
val = UTF8bvnormalize( ((struct berval *)assertValue), NULL, LDAP_UTF8_APPROX );
|
||||
val = UTF8bvnormalize( ((struct berval *)assertValue),
|
||||
NULL, LDAP_UTF8_APPROX );
|
||||
if( val == NULL || val->bv_val == NULL ) {
|
||||
keys = (struct berval *)ch_malloc( sizeof(struct berval) );
|
||||
keys[0].bv_val = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue