Searched defs:dest_attr (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c336 copy_cert_attr(cert_attr_t *src_attr, cert_attr_t **dest_attr) argument
340 if (src_attr == NULL || dest_attr == NULL)
347 if (*dest_attr != NULL) {
348 if ((*dest_attr)->value != (CK_BYTE *)NULL)
349 free((*dest_attr)->value);
351 *dest_attr = malloc(sizeof (cert_attr_t));
352 if (*dest_attr == NULL)
356 (*dest_attr)->value = NULL;
357 (*dest_attr)->length = 0;
360 (*dest_attr)
[all...]

Completed in 62 milliseconds