diff --git a/libraries/liblutil/ldif.c b/libraries/liblutil/ldif.c index c24fa18e0cdcf71759e52e0a67520463a5d0207a..b664e89b7434491eede3c06b1102fd3e45c2100f 100644 --- a/libraries/liblutil/ldif.c +++ b/libraries/liblutil/ldif.c @@ -475,7 +475,7 @@ ldif_must_b64_encode( LDAP_CONST char *s ) for ( i = 0; !BER_BVISNULL( &must_b64_encode[i].name ); i++ ) { if ( ber_bvstrcasecmp( &must_b64_encode[i].name, &bv ) == 0 - || ber_bvstrcasecmp( &must_b64_encode[i].oid, &bv ) == 0 ) + || ber_bvcmp( &must_b64_encode[i].oid, &bv ) == 0 ) { return 1; }