void-packages/srcpkgs/argon2/patches/explicit-bzero.patch

13 lines
229 B
Diff
Raw Normal View History

2019-07-08 17:05:39 +00:00
# reason: use explizit_bzero on musl too!
--- src/core.c
+++ src/core.c
2019-07-08 17:05:39 +00:00
@@ -27,6 +27,7 @@
/* for explicit_bzero() on glibc */
#define _DEFAULT_SOURCE
+#define HAVE_EXPLICIT_BZERO 1
#include <stdio.h>
#include <stdlib.h>