From 30b1edd58770d48285035b51c74ba049147aeab9 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Sat, 31 Oct 2026 23:55:09 +0100 Subject: [PATCH 1/2] Upgrade to open62541 v1.5.10 --- CHANGELOG.md | 5 +++++ open62541 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5570be..8dc0af1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed + +- Upgrade to open62541 version + [1.5.10](https://github.com/open62541/open62541/releases/tag/v1.5.10). + ### Fixed - Fix build on Ubuntu 26.04. diff --git a/open62541 b/open62541 index 05c2b38..93c3bdf 160000 --- a/open62541 +++ b/open62541 @@ -1 +1 @@ -Subproject commit 05c2b389b65cc35884eb40d800301af1f3d130cf +Subproject commit 93c3bdfc9ea4718b503c6cbf57876237addd0f2c From 354f6a63464e15d712c52d91bec80d27d91d6576 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Sun, 1 Nov 2026 00:07:33 +0100 Subject: [PATCH 2/2] Fix link error on Windows --- build.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.rs b/build.rs index b2f7503..852ecbf 100644 --- a/build.rs +++ b/build.rs @@ -90,6 +90,12 @@ fn main() { println!("cargo:rustc-link-search={}", dst_lib.display()); println!("cargo:rustc-link-lib={LIB_BASE}"); + if matches!(env::var("CARGO_CFG_TARGET_OS"), Ok(os) if os == "windows") { + // `UA_random_secureBytes()` uses `BCryptGenRandom()` on Windows, regardless of whether + // encryption is enabled. + println!("cargo:rustc-link-lib=bcrypt"); + } + // For encryption support enabled, we add the libraries that have to be used as dependencies for // the final build artifact. //