Searched refs:tmpl2 (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | object.c | 821 TEMPLATE * tmpl2 = NULL; in object_create_skel() local 834 tmpl2 = (TEMPLATE *)malloc(sizeof (TEMPLATE)); in object_create_skel() 836 if (! o || ! tmpl || ! tmpl2) { in object_create_skel() 842 (void) memset(tmpl2, 0x0, sizeof (TEMPLATE)); in object_create_skel() 849 rc = template_add_attributes(tmpl2, pTemplate, ulCount); in object_create_skel() 862 rc = template_validate_attributes(tmpl2, class, subclass, mode); in object_create_skel() 867 rc = template_check_required_attributes(tmpl2, class, subclass, mode); in object_create_skel() 872 rc = template_merge(tmpl, &tmpl2); in object_create_skel() 886 if (tmpl2) in object_create_skel() 887 (void) template_free(tmpl2); in object_create_skel()
|