Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dinittoken.c51 char *currlabel = NULL; in pk_inittoken() local
62 if (currlabel) in pk_inittoken()
64 currlabel = optarg_av; in pk_inittoken()
91 if ((currlabel == NULL || !strlen(currlabel))) { in pk_inittoken()
97 rv = kmf_pk11_init_token(handle, currlabel, newlabel, in pk_inittoken()
114 (newlabel ? newlabel : currlabel)); in pk_inittoken()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c559 char *currlabel, char *newlabel, in kmf_pk11_init_token() argument
573 if (currlabel != NULL) { in kmf_pk11_init_token()
574 ret = kmf_pk11_token_lookup(handle, currlabel, &slot_id); in kmf_pk11_init_token()
584 (CK_UTF8CHAR_PTR)(newlabel ? newlabel : currlabel)); in kmf_pk11_init_token()