You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NO-JIRA: Buld Fixes for Visual Studio /ANALYZE, OpenSSL Build on Windows - #451
hoyhoy
changed the title
NO-JIRA: Buld Fixes for Visual Studio /ANALYZE, OpenSSL Build on Windows and zOS CMake fixes.
NO-JIRA: Buld Fixes for Visual Studio /ANALYZE, OpenSSL Build on Windows and z/OS CMake fixes.
Aug 21, 2026
hoyhoy
changed the title
NO-JIRA: Buld Fixes for Visual Studio /ANALYZE, OpenSSL Build on Windows and z/OS CMake fixes.
NO-JIRA: Buld Fixes for Visual Studio /ANALYZE, OpenSSL Build on Windows
Sep 3, 2026
Since this was raised I've made some of the changes in this PR to main. I'd like some explanation of the reason for the change in the library initialization - it just seems to be a slightly more elaborate vesion of the same code perhaps with better error reporting (but maybe that error reporting should be in the common code anyway). Also I'm unclear why you need to add the crypto library to the link - I can see on Linux/MacOS that the crypto library is linked.
Since this was raised I've made some of the changes in this PR to main. I'd like some explanation of the reason for the change in the library initialization.
When building with OpenSSL on Windows, InitOnceExecuteOnce() needs a matching prototype for initialize(). That's why I wrapped the function with unused parameters.
Also, the initialization can fail. So you definitely want to log the errors if possible...
I just tried with main and it did build on zOS, but not Windows with OpenSSL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build fixes for OpenSSL using MSVC (22/26) and z/OS.