commit f194aa62a707a0b5c8a30ae72a96aca00aebf60b parent 2255e44e2a2055bd17baa085053e340b67b7dc27 Author: sin <sin@2f30.org> Date: Tue, 12 Apr 2016 14:29:31 +0100 use memset Diffstat:
M | stun.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stun.c b/stun.c @@ -285,7 +285,7 @@ main(int argc, char *argv[]) if (!(pw = getenv("STUNPW"))) logerr("STUNPW is not set"); cryptoinit(pw); - bzero(pw, strlen(pw)); + memset(pw, 0, strlen(pw)); netinit();