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

13 lines
233 B
Diff

# reason: use explizit_bzero on musl too!
--- a/src/core.c
+++ b/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>