mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 02:03:31 +00:00
MFH: r284250
Consistently use trailing whitespace in passphrase prompts. PR: 193496 Submitted by: Fabian Keil
This commit is contained in:
parent
f90eb10d51
commit
2de048bb17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=284752
@ -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