From: Michael Tremer Date: Sun, 29 Dec 2013 19:56:16 +0000 (+0100) Subject: openssl-compat: Enable cryptodev again. X-Git-Tag: v2.15-beta1~88^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7165e5aed61866f8d82141c9ac152468a964f4c;p=people%2Fms%2Fipfire-2.x.git openssl-compat: Enable cryptodev again. This is compiled in and therefore not an externally loadable engine. --- diff --git a/lfs/openssl-compat b/lfs/openssl-compat index 75dd4a2fca..d2ae6a0e90 100644 --- a/lfs/openssl-compat +++ b/lfs/openssl-compat @@ -71,6 +71,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openssl-0.9.8u-cryptodev.patch + cd $(DIR_APP) && sed -i -e 's/mcpu/march/' config cd $(DIR_APP) && sed -i -e 's/-O3/-O2/' -e 's/-march=i486/-march=i586/' Configure @@ -83,7 +85,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) shared linux-elf \ zlib-dynamic \ no-engines \ - no-asm 386 + no-asm 386 \ + -DSSL_FORBID_ENULL \ + -DHAVE_CRYPTODEV \ + -DUSE_CRYPTODEV_DIGEST cd $(DIR_APP) && make depend cd $(DIR_APP) && make