Mercurial > dropbear
diff dbutil.c @ 1286:7d02b83c61fd coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 18 Mar 2016 22:47:33 +0800 |
parents | 3017bc7d6238 |
children | 750ec4ec4cbe efad433418c4 |
line wrap: on
line diff
--- a/dbutil.c Tue Mar 15 23:20:40 2016 +0800 +++ b/dbutil.c Fri Mar 18 22:47:33 2016 +0800 @@ -559,21 +559,6 @@ return ret; } -/* Clear the data, based on the method in David Wheeler's - * "Secure Programming for Linux and Unix HOWTO" */ -/* Beware of calling this from within dbutil.c - things might get - * optimised away */ -void m_burn(void *data, unsigned int len) { - volatile char *p = data; - - if (data == NULL) - return; - while (len--) { - *p++ = 0x0; - } -} - - void setnonblocking(int fd) { TRACE(("setnonblocking: %d", fd))