ask-password-api: move tty_fd into AskPasswordRequest structure, too

This commit is contained in:
Lennart Poettering
2025-01-02 16:38:12 +01:00
parent 4ff3689ad2
commit 72068d9d25
21 changed files with 37 additions and 8 deletions
+1
View File
@@ -35,6 +35,7 @@ static int get_pin(
"Use the '$PIN' environment variable.");
AskPasswordRequest req = {
.tty_fd = -EBADF,
.message = "Please enter TPM2 PIN:",
.icon = "drive-harddisk",
.keyring = "tpm2-pin",