crypto: set env values in Deserialize method by calling CreateNativeK…
Hi @addaleax @jasnell I added some changes for the issue, I verified in my system the example jasnell has posted earlier, it is not throwing any segmentation fault. Please review the changes.Thanks !
Fixes: https://github.com/nodejs/node/issues/35263
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines