ibmswtpm2: disable camellia algorithm

The openssl in oe-core has disabled several deprecated algorithms
including camellia. Disable this algorithm to fix the build error.

Fixes:
TpmToOsslSym.h:185:42: error: unknown type name 'CAMELLIA_KEY'
  185 | #define tpmKeyScheduleCAMELLIA           CAMELLIA_KEY
      |                                          ^~~~~~~~~~~~

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Yi Zhao
2021-01-19 10:34:27 +08:00
committed by Armin Kuster
parent 6053e8b8e2
commit 0a3c0f3499
@@ -27,7 +27,7 @@ SRC_URI[sha512sum] = "007aa415cccf19a2bcf789c426727dc4032dcb04cc9d11eedc231d2add
S = "${WORKDIR}/src"
CFLAGS += "-Wno-error=maybe-uninitialized"
CFLAGS += "-Wno-error=maybe-uninitialized -DALG_CAMELLIA=ALG_NO"
do_compile () {
make CC='${CC}'