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

/illumos-gate/usr/src/cmd/iscsiadm/
H A Discsiadm_main.c1515 char *chapSecret; local
1518 chapSecret = getpassphrase(gettext("Enter secret:"));
1520 if (chapSecret == NULL) {
1527 if (strlen(chapSecret) > maxSecretLen) {
1535 if (strlen(chapSecret) < minSecretLen) {
1543 (void) strcpy(secret, chapSecret);
1545 chapSecret = getpassphrase(gettext("Re-enter secret:"));
1547 if (chapSecret == NULL) {
1554 if (strcmp(secret, chapSecret) != 0) {
1560 *secretLen = strlen(chapSecret);
3112 IMA_BYTE chapSecret[MAX_CHAP_SECRET_LEN + 1]; local
3187 IMA_BYTE chapSecret[MAX_CHAP_SECRET_LEN + 1]; local
[all...]

Completed in 67 milliseconds