From e94f1cd3f91e26670288e419ac85bb98a6d96db1 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 10 Apr 2005 16:01:24 +0000 Subject: [PATCH] OID checks don't need to be case-insensitive --- libraries/liblutil/ldif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5