From: Pierangelo Masarati Date: Sun, 10 Apr 2005 16:01:24 +0000 (+0000) Subject: OID checks don't need to be case-insensitive X-Git-Tag: OPENLDAP_AC_BP~936 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e94f1cd3f91e26670288e419ac85bb98a6d96db1;p=openldap OID checks don't need to be case-insensitive --- diff --git a/libraries/liblutil/ldif.c b/libraries/liblutil/ldif.c index c24fa18e0c..b664e89b74 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; }