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

13 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>