Skip to content

Commit 9cf8bab

Browse files
JohannesKauffmannkraj
authored andcommitted
open62541: add OpenSSL as crypto provider
Since multiple crypto provider aren't supported simultaneously, the mbedtls packageconfig conflicts with the openssl packgeconfig. Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 parent f9907fe commit 9cf8bab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ EXTRA_OECMAKE += "\
3333

3434
PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth"
3535
PACKAGECONFIG[amalgamation] = "-DUA_ENABLE_AMALGAMATION=ON, -DUA_ENABLE_AMALGAMATION=OFF"
36-
PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls"
36+
PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl"
37+
PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls"
3738
PACKAGECONFIG[pubsub] = "-DUA_ENABLE_PUBSUB=ON, -DUA_ENABLE_PUBSUB=OFF"
3839
PACKAGECONFIG[pubsub-eth] = "-DUA_ENABLE_PUBSUB_ETH_UADP=ON, -DUA_ENABLE_PUBSUB_ETH_UADP=OFF"
3940
PACKAGECONFIG[werror] = "-DUA_FORCE_WERROR=ON, -DUA_FORCE_WERROR=OFF"

0 commit comments

Comments
 (0)