view src/lib/safe-memset.h @ 9658:8ba4253adc9b HEAD tip

*-login: SSL connections didn't get closed when the client got destroyed.
author Timo Sirainen <>
date Thu, 08 May 2014 16:41:29 +0300
parents e4eb71ae8e96
line wrap: on
line source


/* memset() guaranteed not to get optimized away by compiler.
   Should be used instead of memset() when clearing any sensitive data. */
void safe_memset(void *data, int c, size_t size);