Searched refs:app_attr (Results 1 – 1 of 1) sorted by relevance
315 CK_ATTRIBUTE *app_attr = NULL; in data_object_set_default_attributes() local319 app_attr = NULL; in data_object_set_default_attributes()323 app_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in data_object_set_default_attributes()326 if (! class_attr || ! app_attr || ! value_attr) { in data_object_set_default_attributes()328 if (app_attr) free(app_attr); in data_object_set_default_attributes()333 app_attr->type = CKA_APPLICATION; in data_object_set_default_attributes()334 app_attr->ulValueLen = 0; // empty string in data_object_set_default_attributes()335 app_attr->pValue = NULL; in data_object_set_default_attributes()347 (void) template_update_attribute(tmpl, app_attr); in data_object_set_default_attributes()