summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakub Sławiński2004-01-09 18:48:31 +0100
committerJoshua Judson Rosen2014-07-17 21:14:55 +0200
commitc691251feaffa310a51e0c2255eefc6b42f0e728 (patch)
treef7202a10873641aad3c93850948ec3d969c97735 /Makefile
parentv0.5.2 (diff)
downloadapf-c691251feaffa310a51e0c2255eefc6b42f0e728.tar.gz
v0.5.3
- Added: client password identification (weak) - Added: sigint intercepting and server closing - Modified: communication between server and client - Added: 'nossl' and 'nozlib' modes - Added: zlib support - Lightly Modified: verbose mode - Modified/Added: help screen and long options support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 21e5bb4..5e4463f 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,10 @@ security=server.rsa client.rsa cacert.pem
all: compi $(programs) ok1 secure
afserver: afserver.c network.o file.o stats.o
- $(CC) $(CFLAGS) -lssl afserver.c network.o file.o stats.o -o afserver
+ $(CC) $(CFLAGS) -lssl -lz afserver.c network.o file.o stats.o -o afserver
afclient: afclient.c network.o stats.o
- $(CC) $(CFLAGS) -lssl afclient.c network.o stats.o -o afclient
+ $(CC) $(CFLAGS) -lssl -lz afclient.c network.o stats.o -o afclient
network.o: network.c network.h
$(CC) $(CFLAGS) -c network.c
@@ -23,10 +23,10 @@ stats.o: stats.c stats.h
secure: crea $(security) ok2
server.rsa:
- @openssl genrsa -out server.rsa 2048
+ @openssl genrsa -rand Makefile -out server.rsa 2048
client.rsa:
- @openssl genrsa -out client.rsa 2048
+ @openssl genrsa -rand server.rsa -out client.rsa 2048
cacert.pem:
@echo -e "\n Generating certificate...\n"