Fix to compile the des app.
authorUlf Möller <ulf@openssl.org>
Tue, 8 Jun 1999 15:35:57 +0000 (15:35 +0000)
committerUlf Möller <ulf@openssl.org>
Tue, 8 Jun 1999 15:35:57 +0000 (15:35 +0000)
crypto/des/Makefile.ssl
crypto/des/des_ver.h

index e9300e70c04c2faf5433ca541dac59fe34793d80..2f4b370ed19ec8c33e008061f2717f270882ba83 100644 (file)
@@ -6,7 +6,7 @@ DIR=    des
 TOP=   ../..
 CC=    cc
 CPP=   $(CC) -E
-INCLUDES=
+INCLUDES=-I../../include
 CFLAG=-g
 INSTALL_PREFIX=
 OPENSSLDIR=     /usr/local/ssl
@@ -59,6 +59,9 @@ lib:  $(LIBOBJ)
        $(RANLIB) $(LIB)
        @touch lib
 
+des: des.o cbc3_enc.o lib
+       $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
+
 # elf
 asm/dx86-elf.o: asm/dx86unix.cpp
        $(CPP) -DELF asm/dx86unix.cpp | as -o asm/dx86-elf.o
index 1a28f48f98d9a500268a047d34670d1174d8e098..de3c02f110cfaba77e27e2b3e53d1300e1d93cc0 100644 (file)
@@ -56,5 +56,6 @@
  * [including the GNU Public Licence.]
  */
 
+#include <openssl/e_os2.h>
 OPENSSL_EXTERN char *DES_version;      /* SSLeay version string */
 OPENSSL_EXTERN char *libdes_version;   /* old libdes version string */