Add OpenSSL 1.1.1 as submodule for legacy API support#31
Open
eWloYW8 wants to merge 14 commits intoiagox86:masterfrom
Open
Add OpenSSL 1.1.1 as submodule for legacy API support#31eWloYW8 wants to merge 14 commits intoiagox86:masterfrom
eWloYW8 wants to merge 14 commits intoiagox86:masterfrom
Conversation
Some functions used by the project are no longer available in OpenSSL 3.0+. To ensure compatibility and avoid refactoring, OpenSSL 1.1.1 was added as a submodule. Makefile was updated to build and link against the submodule version correctly.
…der file are included correctly
Add SM3 to README.md
- Use --depth 1 to perform shallow clone, fetching only the latest commit - Use --single-branch to limit submodule cloning to a single branch
…te warning about missing jobserver and speed up compiling
8047c83 to
d3f0c5c
Compare
1b87b53 to
4b2e408
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds OpenSSL 1.1.1 as a Git submodule and updates the build process to ensure compatibility with APIs that have been removed or deprecated in OpenSSL 3.0+, and adds support for MINGW64 in msys2.
Changes Made
opensslReason
The project relies on several OpenSSL APIs that were removed in 3.0+, such as EVP_MD_CTX_md_data(). This causes the program to crash with a segmentation fault during SM3 tests when linked against the system-installed OpenSSL 3.0+, and similar functionality has not been made available in OpenSSL 3.0+.