aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile2
-rw-r--r--sha256.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0f7cb9b..1264020 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
.PHONY: all
.PHONY: clean
-CFLAGS = -Ofast -Wall -Wextra -std=c++23
+CFLAGS += -Ofast -Wall -Wextra -std=c++23
all: mtafk
diff --git a/sha256.c b/sha256.c
index 492335f..8f730b1 100644
--- a/sha256.c
+++ b/sha256.c
@@ -15,7 +15,7 @@
const char SHA256_version[] = "SHA-256" OPENSSL_VERSION_PTEXT;
/* mem_clr.c */
-unsigned static char cleanse_ctr = 0;
+static unsigned char cleanse_ctr = 0;
static void OPENSSL_cleanse(void *ptr, size_t len)
{
unsigned char *p = (unsigned char *)ptr;