From cbf0874f018c6ddd831de26b1ac5bcf7b517e2da Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 5 May 2009 00:01:50 +0200 Subject: memset: replace memset() by _DBUS_ZERO where applicable --- dbus/dbus-sha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbus/dbus-sha.c') diff --git a/dbus/dbus-sha.c b/dbus/dbus-sha.c index 8ec50b6f..eb3439f8 100644 --- a/dbus/dbus-sha.c +++ b/dbus/dbus-sha.c @@ -465,7 +465,7 @@ _dbus_sha_final (DBusSHAContext *context, /* some kind of security paranoia, though it seems pointless * to me given the nonzeroed stuff flying around */ - memset ((void*)context, '\0', sizeof (DBusSHAContext)); + _DBUS_ZERO(*context); return TRUE; } -- cgit