From: Bastien Roucariès <[email protected]>
Signed-off-by: Bastien Roucariès <[email protected]>
---
lib/explicit_bzero.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c
index 59215852c..21f42292d 100644
--- a/lib/explicit_bzero.c
+++ b/lib/explicit_bzero.c
@@ -53,7 +53,7 @@ void
explicit_bzero (void *s, size_t len)
{
#ifdef HAVE_EXPLICIT_MEMSET
- explicit_memset (s, 0, len);
+ explicit_memset (s, '\0', len);
#elif HAVE_MEMSET_S
(void) memset_s(s,len,'\0',len);
#elif HAVE_SECUREZEROMEMORY
--
2.25.1