-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove OpenSSL #4740
Remove OpenSSL #4740
Conversation
@zkbot try |
Remove OpenSSL Includes changes cherry-picked from the following upstream PRs: - bitcoin/bitcoin#7095 - bitcoin/bitcoin#17165 - Only the commit removing SSL lib detection (we have long since removed the rest). - bitcoin/bitcoin#17265 - We had already migrated away from OpenSSL for randomness. - bitcoin/bitcoin#17515 - Only the second commit.
💔 Test failed - pr-try |
Blocking this PR on #4643, which makes some changes that remove merge conflicts I'd rather not unpick. |
☔ The latest upstream changes (presumably #4720) made this pull request unmergeable. Please resolve the merge conflicts. |
Compare against the scriptnum from Bitcoin Core 0.10 instead of OpenSSL. Closes #7086.
5193861
to
bab8537
Compare
@zkbot try |
⌛ Trying commit bab8537 with merge 8777d2884eeed2a0643cadb247b1561da3520cfa... |
☀️ Test successful - pr-try |
Edit: I have a workaround that just asserts that the problematic cases are not exercised by the comparison tests; testing it now. Edit: turns out they were exercised by the comparison tests. Will fix. |
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
…y of UB. Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
ACK the commits pushed by @daira. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK (but I can't review my own changes, i.e. the last 5 commits).
@nuttycom can you also review the last 4 commits? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK of last 4 commits.
@zkbot r+ |
📌 Commit ce0654e has been approved by |
zcash#4740 removed OpenSSL from our depends system, so we were not satisfying this linker flag intentionally. Configurations where a target OpenSSL could not be found by the linker, such as cross-compiles and native macOS builds, were therefore failing. However, OpenSSL is likely available in the system for all the "supported builders" (which are all Linux-based), so the linker was likely being satisfied by that library, enabling the previous PR to be merged.
build: Remove a stray -lcrypto #4740 removed OpenSSL from our depends system, so we were not satisfying this linker flag intentionally. Configurations where a target OpenSSL could not be found by the linker, such as cross-compiles and native macOS builds, were therefore failing. However, OpenSSL is likely available in the system for all the "supported builders" (which are all Linux-based), so the linker was likely being satisfied by that library, enabling the previous PR to be merged.
Includes changes cherry-picked from the following upstream PRs:
Closes #145.