Skip to content
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

use ripemd160 instead of rmd160 for electron 4.0 uses BoringSSL #26

Merged
merged 1 commit into from
Feb 9, 2019

Conversation

twksos
Copy link
Contributor

@twksos twksos commented Feb 8, 2019

We are working on an Electron 4.0 project.
Electron 4.0 uses BoringSSL and removed the alias(rmd160 -> ripemd160).
We replaced rmd160 with ripemd160 which works in both OpenSSL and BoringSSL.

@jprichardson
Copy link
Member

Thanks. Have old Node.js versions always supported both aliases? I'm asking to be sure we maintain semver.

@twksos
Copy link
Contributor Author

twksos commented Feb 8, 2019

@jprichardson From the test result, it works on node 6, 8, 10.

@twksos
Copy link
Contributor Author

twksos commented Feb 8, 2019

Hi @jprichardson , I've double checked the OpenSSL code, the aliases should exists in OpenSSL v0.9.6 around year 2003. And at least from node 0.7.4 it directly uses function from OpenSSL.

We should be fine with this change.

@jprichardson jprichardson merged commit 6d496d9 into cryptocoinjs:master Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants