77 (X509V3_EXT_I2V)i2v_AUTHORITY_KEYID,
93 extlist = i2v_GENERAL_NAMES(NULL, akeyid->
issuer, extlist);
114 char keyid=0, issuer=0;
119 GENERAL_NAMES * gens = NULL;
129 if(!strcmp(cnf->
name,
"keyid"))
132 if(cnf->
value && !strcmp(cnf->
value,
"always"))
135 else if(!strcmp(cnf->
name,
"issuer"))
138 if(cnf->
value && !strcmp(cnf->
value,
"always"))
152 return AUTHORITY_KEYID_new();
164 if(keyid==2 && !ikeyid)
171 if((issuer && !ikeyid) || (issuer == 2))
175 if(!isname || !serial)
182 if(!(akeyid = AUTHORITY_KEYID_new()))
goto err;
187 || !(gen = GENERAL_NAME_new())
194 gen->
d.
dirn = isname;
199 akeyid->
keyid = ikeyid;
204 X509_NAME_free(isname);