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

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c223 uchar_t *tmp_old_pin = NULL, *tmp_new_pin = NULL; local
280 tmp_new_pin = malloc(ulNewPinLen + 1);
281 if (tmp_new_pin == NULL) {
285 (void) memcpy(tmp_new_pin, pNewPin, ulNewPinLen);
286 tmp_new_pin[ulNewPinLen] = '\0';
291 if (soft_keystore_setpin(tmp_old_pin, tmp_new_pin, B_FALSE)) {
308 if (tmp_new_pin)
309 free(tmp_new_pin);

Completed in 33 milliseconds