Lines Matching defs:secret
276 {"CHAP-secret", no_arg, 'C', NULL},
282 {"radius-shared-secret", no_arg, 'P', NULL},
1510 * Retrieve CHAP secret from input
1513 getSecret(char *secret, int *secretLen, int minSecretLen, int maxSecretLen)
1518 chapSecret = getpassphrase(gettext("Enter secret:"));
1522 gettext("Unable to get secret"));
1523 *secret = NULL;
1529 gettext("secret too long, maximum length is"),
1531 *secret = NULL;
1537 gettext("secret too short, minimum length is"),
1539 *secret = NULL;
1543 (void) strcpy(secret, chapSecret);
1545 chapSecret = getpassphrase(gettext("Re-enter secret:"));
1549 gettext("Unable to get secret"));
1550 *secret = NULL;
1554 if (strcmp(secret, chapSecret) != 0) {
1556 gettext("secrets do not match, secret not changed"));
1557 *secret = NULL;
3567 /* Not setting shared secret here. */
3614 gettext("RADIUS server secret not configured yet"));
3639 * Modify the RADIUS shared secret.
3680 /* Modify the shared secret only */
3905 " allowed to change CHAP secret"));
4149 * -C CHAP secret set