Implement hashing of username and password

This commit is contained in:
2026-05-29 20:01:05 +02:00
parent f343c86800
commit 68bb993d1a
2 changed files with 55 additions and 4 deletions

View File

@@ -10,13 +10,13 @@ LDFLAGS=-lm -luuid
INCL_FLAGS=-I$(LIBWS)include -I$(LIBSHA)
server: src/server.c $(LIBSHA_SRC) output
gcc $(CFLAGS) $(INCL_FLAGS) -o output/server src/server.c $(LIBWS_LIB) $(LDFLAGS)
gcc $(CFLAGS) $(INCL_FLAGS) -o output/server src/server.c $(LIBSHA_SRC) $(LIBWS_LIB) $(LDFLAGS)
LDFLAGS2=-lm
INCL_FLAGS2=-I$(LIBSHA)
userctl: src/userctl.c $(LIBSHA_SRC) output
gcc $(CFLAGS) $(INCL_FLAGS2) -o output/userctl src/userctl.c $(LDFLAGS2)
gcc $(CFLAGS) $(INCL_FLAGS2) -o output/userctl src/userctl.c $(LIBSHA_SRC) $(LDFLAGS2)
output:
mkdir -p output