void-packages/srcpkgs/argon2/patches/explicit-bzero.patch
2019-07-08 19:07:15 +02:00

12 lines
229 B
Diff

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