crypto: clear error stack in ECDH::Initialize · nodejs/node@ebd9add · GitHub
Skip to content

Commit ebd9add

Browse files
indutnyShigeki Ohtsu
authored andcommitted
crypto: clear error stack in ECDH::Initialize
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 <thechargingvolcano@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
1 parent 310530b commit ebd9add

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/node_crypto.cc

Lines changed: 2 additions & 0 deletions

test/parallel/test-crypto-dh.js

Lines changed: 5 additions & 0 deletions

0 commit comments

Comments
 (0)