mirror of
https://github.com/open62541/open62541.git
synced 2026-10-18 13:42:32 +08:00
07b632a6f7
Compare the selected discovery endpoint with its authenticated counterpart from CreateSession using only the seven fields specified by Part 4. Ignore optional metadata and the duplicated endpoint certificate, which servers may omit. Keep the separate certificate validation unchanged. Reject mismatches by default, with configurable warning and acceptance modes. Skip the comparison for directly configured endpoints. Cover omitted metadata, endpoint reordering, mismatch handling and trusted endpoint configuration.