From 6c3838f9ed45f5c2aa6a971a0da3cb6ffe45b61e Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 15 Nov 2018 21:28:02 +0300 Subject: Core: ngx_explicit_memzero(). --- src/core/ngx_string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/ngx_string.h') diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 882ae7cea..0fb9be72e 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -88,6 +88,8 @@ ngx_strlchr(u_char *p, u_char *last, u_char c) #define ngx_memzero(buf, n) (void) memset(buf, 0, n) #define ngx_memset(buf, c, n) (void) memset(buf, c, n) +void ngx_explicit_memzero(void *buf, size_t n); + #if (NGX_MEMCPY_LIMIT) -- cgit