aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rndriscos.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/rndriscos.c')
-rw-r--r--cipher/rndriscos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/rndriscos.c b/cipher/rndriscos.c
index 98142b313..4a9a3b73e 100644
--- a/cipher/rndriscos.c
+++ b/cipher/rndriscos.c
@@ -87,7 +87,7 @@ rndriscos_gather_random(void (*add)(const void*, size_t, int), int requester,
(*add)(buffer, n, requester);
length -= n;
}
- memset(buffer, 0, sizeof(buffer));
+ wipememory(buffer, sizeof(buffer));
return 0; /* success */
}