Searched refs:serial_attr (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dcert.c381 CK_ATTRIBUTE * serial_attr = NULL; local
388 serial_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
390 if (! id_attr || ! issuer_attr || ! serial_attr) {
393 if (serial_attr) free(serial_attr);
406 serial_attr->type = CKA_SERIAL_NUMBER;
407 serial_attr->ulValueLen = 0;
408 serial_attr->pValue = NULL;
412 (void) template_update_attribute(tmpl, serial_attr);

Completed in 20 milliseconds