Commit 9544b683 authored by Stef Walter's avatar Stef Walter
Browse files

secret-tool: Use the correct call to wipe password in memory

 * Fixes crash
parent e3438127
...@@ -267,7 +267,7 @@ read_password_tty (void) ...@@ -267,7 +267,7 @@ read_password_tty (void)
password = getpass ("Password: "); password = getpass ("Password: ");
return secret_value_new_full (password, -1, "text/plain", return secret_value_new_full (password, -1, "text/plain",
(GDestroyNotify)secret_password_clear); (GDestroyNotify)secret_password_wipe);
} }
static int static int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment