77 static unsigned long global_mask = 0xFFFFFFFFL;
102 if(!strncmp(p,
"MASK:", 5)) {
104 mask = strtoul(p + 5, &end, 0);
106 }
else if(!strcmp(p,
"nombstr"))
108 else if(!strcmp(p,
"pkix"))
111 else if(!strcmp(p,
"default"))
124 int inlen,
int inform,
int nid)
138 if(ret <= 0)
return NULL;
147 #define ub_name 32768
148 #define ub_common_name 64
149 #define ub_locality_name 128
150 #define ub_state_name 128
151 #define ub_organization_name 64
152 #define ub_organization_unit_name 64
154 #define ub_email_address 128
155 #define ub_serial_number 64
185 return (*a)->nid - (*b)->nid;
203 ttmp = OBJ_bsearch_table(&fnd, tbl_standard,
205 if(ttmp)
return ttmp;
206 if(!stable)
return NULL;
208 if(idx < 0)
return NULL;
213 long minsize,
long maxsize,
unsigned long mask,
235 if(minsize != -1) tmp->
minsize = minsize;
236 if(maxsize != -1) tmp->
maxsize = maxsize;
259 #ifdef STRING_TABLE_TEST
264 int i, last_nid = -1;
266 for (tmp = tbl_standard, i = 0;
269 if (tmp->
nid < last_nid)
279 printf(
"Table order OK\n");
283 for (tmp = tbl_standard, i = 0;
285 printf(
"Index %d, NID %d, Name=%s\n", i, tmp->
nid,