summaryrefslogtreecommitdiff
path: root/src/reply-password/reply-password.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-06 13:35:56 +0100
committerGitHub <noreply@github.com>2017-02-06 13:35:56 +0100
commit9194199c9894c5fd4f497fbbf5fc0449686c8fe5 (patch)
tree28fcef4121e585704b6d695d2113a037a165141e /src/reply-password/reply-password.c
parent65c8834942a5ca2d2016f28c4dfc6738a717ed69 (diff)
parent1075122f42211ddb319126d6713a68a05056cd9d (diff)
Merge pull request #5237 from keszybz/explicit-bzero
Use `explicit_bzero`
Diffstat (limited to 'src/reply-password/reply-password.c')
-rw-r--r--src/reply-password/reply-password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reply-password/reply-password.c b/src/reply-password/reply-password.c
index 17eab9772e..a17c8a62b8 100644
--- a/src/reply-password/reply-password.c
+++ b/src/reply-password/reply-password.c
@@ -90,7 +90,7 @@ int main(int argc, char *argv[]) {
r = send_on_socket(fd, argv[2], packet, length);
finish:
- memory_erase(packet, sizeof(packet));
+ explicit_bzero(packet, sizeof(packet));
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}