mongodb-js / boxednode

📦 boxednode – Ship a JS file with Node.js in a box
Apache License 2.0
599 stars 10 forks source link

fix: add OpenSSL init code/use modern Node.js init API #30

Closed addaleax closed 1 year ago

addaleax commented 1 year ago

Copy OpenSSL initialization code from Node.js, and add code to use the initialization API being worked out in the referenced Node.js pull request to avoid having to adjust this kind of code in the future.

Fixes: https://jira.mongodb.org/browse/MONGOSH-1258