summaryrefslogtreecommitdiff
path: root/src/rand.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-05-22 02:16:23 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-08-27 02:16:52 -0400
commit08c03cd450a8084fd88f7624655dfecbe52d243d (patch)
tree8dc4051c778f1345c56dbfd5b9888022073ce53e /src/rand.c
parent62ccda859258dc194b3d4c147b48da6082683f79 (diff)
downloadlighttpd-git-08c03cd450a8084fd88f7624655dfecbe52d243d.tar.gz
[multiple] rename safe_memclear() -> ck_memzero()
Diffstat (limited to 'src/rand.c')
-rw-r--r--src/rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rand.c b/src/rand.c
index 8d5c8ea9..1584c12f 100644
--- a/src/rand.c
+++ b/src/rand.c
@@ -8,8 +8,8 @@
#include "rand.h"
#include "buffer.h"
+#include "ck.h"
#include "fdevent.h"
-#include "safe_memclear.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -496,5 +496,5 @@ void li_rand_cleanup (void)
mbedtls_entropy_free(&entropy);
#endif
#endif
- safe_memclear(xsubi, sizeof(xsubi));
+ ck_memzero(xsubi, sizeof(xsubi));
}