Home
last modified time | relevance | path

Searched refs:tmp_new_pin (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c214 uchar_t *tmp_old_pin = NULL, *tmp_new_pin = NULL; in soft_setpin() local
271 tmp_new_pin = malloc(ulNewPinLen + 1); in soft_setpin()
272 if (tmp_new_pin == NULL) { in soft_setpin()
276 (void) memcpy(tmp_new_pin, pNewPin, ulNewPinLen); in soft_setpin()
277 tmp_new_pin[ulNewPinLen] = '\0'; in soft_setpin()
282 if (soft_keystore_setpin(tmp_old_pin, tmp_new_pin, B_FALSE)) { in soft_setpin()
299 if (tmp_new_pin) in soft_setpin()
300 free(tmp_new_pin); in soft_setpin()