mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
Consistently use trailing whitespace in passphrase prompts.
PR: 193496 Submitted by: Fabian Keil MFC after: 1 week
This commit is contained in:
parent
6b3027cb42
commit
c06d629a24
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284250
@ -423,7 +423,7 @@ eli_genkey_passphrase_prompt(struct gctl_req *req, bool new, char *passbuf,
|
||||
|
||||
for (;;) {
|
||||
p = readpassphrase(
|
||||
new ? "Enter new passphrase:" : "Enter passphrase:",
|
||||
new ? "Enter new passphrase: " : "Enter passphrase: ",
|
||||
passbuf, passbufsize, RPP_ECHO_OFF | RPP_REQUIRE_TTY);
|
||||
if (p == NULL) {
|
||||
bzero(passbuf, passbufsize);
|
||||
|
Loading…
Reference in New Issue
Block a user