diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-01-19 10:34:27 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-01-23 15:19:33 -0800 |
commit | 0a3c0f3499aa62bd41c52e958334586146e1e278 (patch) | |
tree | 3963a152756b66edc7b573c85d5638419fb5a3e1 | |
parent | 6053e8b8e2f868ad67eeb0764b437b39e531da93 (diff) | |
download | meta-security-0a3c0f3499aa62bd41c52e958334586146e1e278.tar.gz |
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>
-rw-r--r-- | meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1637.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1637.bb b/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1637.bb index 32afd37..301980d 100644 --- a/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1637.bb +++ b/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1637.bb | |||
@@ -27,7 +27,7 @@ SRC_URI[sha512sum] = "007aa415cccf19a2bcf789c426727dc4032dcb04cc9d11eedc231d2add | |||
27 | 27 | ||
28 | S = "${WORKDIR}/src" | 28 | S = "${WORKDIR}/src" |
29 | 29 | ||
30 | CFLAGS += "-Wno-error=maybe-uninitialized" | 30 | CFLAGS += "-Wno-error=maybe-uninitialized -DALG_CAMELLIA=ALG_NO" |
31 | 31 | ||
32 | do_compile () { | 32 | do_compile () { |
33 | make CC='${CC}' | 33 | make CC='${CC}' |