提交 bebf2787 编写于 作者: U Ulf Möller

Fix to compile the des app.

上级 f439123f
...@@ -6,7 +6,7 @@ DIR= des ...@@ -6,7 +6,7 @@ DIR= des
TOP= ../.. TOP= ../..
CC= cc CC= cc
CPP= $(CC) -E CPP= $(CC) -E
INCLUDES= INCLUDES=-I../../include
CFLAG=-g CFLAG=-g
INSTALL_PREFIX= INSTALL_PREFIX=
OPENSSLDIR= /usr/local/ssl OPENSSLDIR= /usr/local/ssl
...@@ -59,6 +59,9 @@ lib: $(LIBOBJ) ...@@ -59,6 +59,9 @@ lib: $(LIBOBJ)
$(RANLIB) $(LIB) $(RANLIB) $(LIB)
@touch lib @touch lib
des: des.o cbc3_enc.o lib
$(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
# elf # elf
asm/dx86-elf.o: asm/dx86unix.cpp asm/dx86-elf.o: asm/dx86unix.cpp
$(CPP) -DELF asm/dx86unix.cpp | as -o asm/dx86-elf.o $(CPP) -DELF asm/dx86unix.cpp | as -o asm/dx86-elf.o
......
...@@ -56,5 +56,6 @@ ...@@ -56,5 +56,6 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/e_os2.h>
OPENSSL_EXTERN char *DES_version; /* SSLeay version string */ OPENSSL_EXTERN char *DES_version; /* SSLeay version string */
OPENSSL_EXTERN char *libdes_version; /* old libdes version string */ OPENSSL_EXTERN char *libdes_version; /* old libdes version string */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册