-
Notifications
You must be signed in to change notification settings - Fork 30k
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
crypto: clear error stack in ECDH::Initialize #4689
Conversation
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: nodejs#4686
R: @nodejs/crypto |
LGTM if CI is green. |
Does it mean the Oakley curve is broken in openssl?
Instead of ignoring it, how about the idea to have |
@shigeki I don't really want to introduce more |
thanks! |
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: #4686 PR-URL: #4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
@indutny I found the error is intentional and ignoring it is a right choice, which comes from https://github.com/openssl/openssl/blob/OpenSSL_1_0_2-stable/crypto/ec/ec_lib.c#L321-L325
CI was green except existing failures on WIn. LGTM and landed in ebd9add. Thanks. |
Thank you! |
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: #4686 PR-URL: #4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: #4686 PR-URL: #4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: #4686 PR-URL: #4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: nodejs#4686 PR-URL: nodejs#4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: nodejs#4686 PR-URL: nodejs#4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: nodejs#4686 PR-URL: nodejs#4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have faulty implementations that are leaving dangling errors after initializing the curve. Fix: nodejs#4686 PR-URL: nodejs#4689 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
Clean up OpenSSL error stack in
ECDH::Initialize
, some curves havefaulty implementations that are leaving dangling errors after
initializing the curve.
Fix: #4686