Home
last modified time | relevance | path

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

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