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 <[email protected]>
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 <[email protected]>
@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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
@JohannesKauffmann JohannesKauffmann deleted the fix/open62541 branch May 31, 2023 12:49
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Apr 2, 2026
Changelog:
============
- Git PR openembedded#673: Fix warning for non clang builds on linux
- Git Issue openembedded#675: std::chrono conversion does not compile with libc++
- Git PR openembedded#679: Fix double colon in url generator
- Git PR openembedded#680: Added missing space after "found" in maximum_validator
- Git PR openembedded#685: optimize semantic_tag::noesc write_string
- Git PR openembedded#687: jmespath: allow rhs_expression in a keyvalue - expression
- Git PR openembedded#688,openembedded#689: jmespath: where possible without losing information,
- store the result of ceil and floor as basic_json integer values
- rather than double values.
- Added toon-format extension

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
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