Lines Matching refs:attr
265 X509_ATTRIBUTE *attr = NULL;
290 attr = type2attrib(keyid, NID_localKeyID);
291 if (attr == NULL) {
311 if (sk_X509_ATTRIBUTE_push(pkey->attributes, attr) == 0) {
315 attr = NULL;
324 if (attr != NULL)
325 X509_ATTRIBUTE_free(attr);
352 X509_ATTRIBUTE *attr = NULL;
370 attr = sk_X509_ATTRIBUTE_value(pkey->attributes, i);
372 if ((ty = attrib2type(attr)) == NULL ||
378 attr = sk_X509_ATTRIBUTE_delete(pkey->attributes, i);
379 if (attr != NULL)
380 X509_ATTRIBUTE_free(attr);
416 X509_ATTRIBUTE *attr = NULL;
432 attr = sk_X509_ATTRIBUTE_value(pkey->attributes, i);
434 if ((ty = attrib2type(attr)) == NULL ||
440 attr = sk_X509_ATTRIBUTE_delete(pkey->attributes, i);
441 if (attr != NULL)
442 X509_ATTRIBUTE_free(attr);