Skip to content

open62541: allow overriding encryption providers and disable warnings as errors#687

Closed
JohannesKauffmann wants to merge 2 commits intoopenembedded:masterfrom
JohannesKauffmann:fix/open62541
Closed

open62541: allow overriding encryption providers and disable warnings as errors#687
JohannesKauffmann wants to merge 2 commits intoopenembedded:masterfrom
JohannesKauffmann:fix/open62541

Conversation

@JohannesKauffmann
Copy link
Copy Markdown
Contributor

No description provided.

Without "encryption" PACKAGECONFIG, the option UA_ENABLE_ENCRYPTION=OFF
is passed, which disables encryption support altogether and makes it
impossible to override the encryption provider. Since no encryption
support is already the default, we don't have to specify anthing to
disable encryption.

Additionally, explicitly specify MbedTLS as the encryption provider;
this is the preferred way to enable any one of the three supported
providers (LibreSSL, OpenSSL or MbedTLS). The current method prints a
deprecation warning:

    CMake Deprecation Warning at CMakeLists.txt:200 (message):
      Set UA_ENABLE_ENCRYPTION to the desired encryption library.

Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
When using OpenSSL as the encryption provider, the package does not
build without deprecation warnings, thus breaking the build. Disable
warnings as errors to unbreak the build.

Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
@kraj
Copy link
Copy Markdown
Contributor

kraj commented May 13, 2023

applied with bd7cd3b

@kraj kraj closed this May 13, 2023
pberginkonsult pushed a commit to pberginkonsult/meta-openembedded that referenced this pull request May 22, 2023
Changelog:
==========
Correct timeout in call to poll.poll (openembedded#687)
Revert "Revert "Fix error with select when python process exceeds 1024 open file descriptors"" (openembedded#686)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
@JohannesKauffmann JohannesKauffmann deleted the fix/open62541 branch May 31, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants