search for: store_passphrase_on_keychain

Displaying 1 result from an estimated 1 matches for "store_passphrase_on_keychain".

2004 Jan 06
1
Keychain Patch Try II
...p; RP_ALLOW_EOF) - return NULL; - return xstrdup(""); - } -#ifdef USE_KEYCHAIN - - fprintf(stderr, "Would you like to store this password in your keychain (y/n)?\n"); - response = fgetc(stdin); - if (response == 'y' || response == 'Y') { - store_passphrase_on_keychain(prompt, buf); - } + if (readpassphrase(prompt, buf, sizeof buf, rppflags) == NULL) { + if (flags & RP_ALLOW_EOF) + return NULL; + return xstrdup(""); } -#endif /* USE_KEYCHAIN */ ret = xstrdup(buf); memset(buf, 'x', sizeof buf); return ret; } - -#ifdef USE...