Skip to content

Commit 2359e70

Browse files
committed
更新crypt库, 增加了一系列加密/解密方法
1 parent 540ced7 commit 2359e70

28 files changed

+2590
-2877
lines changed

luaclib/src/lcrypt/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ default :
99

1010
CC = cc
1111

12-
CFLAGS = -O3 -Wall -shared -fPIC -fno-strict-aliasing
13-
DLL = -lcore -llua
12+
CFLAGS = -O3 -Wall -shared -fPIC -fno-strict-aliasing -ggdb
13+
DLL = -lcore -llua -lcrypto
1414

1515
INCLUDES = -I../../../ -I/usr/local/include
1616
LIBS = -L../ -L../../../ -L/usr/local/lib
1717

1818
build:
19-
@$(CC) -o lcrypt.so lcrypt.c crc.c md5.c url.c sha1.c sha2.c $(INCLUDES) $(LIBS) $(CFLAGS) $(DLL)
19+
@$(CC) -o lcrypt.so lcrypt.c aes.c des.c dh.c rsa.c sha.c hmac.c hmac_ex.c b64.c crc.c url.c hex.c $(INCLUDES) $(LIBS) $(CFLAGS) $(DLL)
2020
@mv *.so ../../

0 commit comments

Comments
 (0)