-#endif
-
- if ( !OID_LEADCHAR( at->at_oid[0] )) {
- /* Expand OID macros */
- oid = find_oidm( at->at_oid );
- if ( !oid ) {
- fprintf( stderr,
- "%s: line %d: OID %s not recognized\n",
- fname, lineno, at->at_oid);
- return 1;
- }
- if ( oid != at->at_oid ) {
- ldap_memfree( at->at_oid );
- at->at_oid = oid;
- }
- }
-
- if ( at->at_syntax_oid && !OID_LEADCHAR( at->at_syntax_oid[0] )) {
- /* Expand OID macros */
- oid = find_oidm( at->at_syntax_oid );
- if ( !oid ) {
- fprintf(stderr,
- "%s: line %d: OID %s not recognized\n",
- fname, lineno, at->at_syntax_oid);
- return 1;
- }
- if ( oid != at->at_syntax_oid ) {
- ldap_memfree( at->at_syntax_oid );
- at->at_syntax_oid = oid;
- }