Unverified Commit 8ee9e1a1 authored by Darshan Sen's avatar Darshan Sen Committed by GitHub
Browse files

src,crypto: refactor `crypto_tls.*`



By the design of `GetSSLError()`, the V8 API was unnecessarily being
accessed in places where it eventually didn't get used. So this refactor
inlines the function appropriately in places where it was being used.
Also, this replaces uses of `AllocatedBuffers` with `BackingStore`s.

Signed-off-by: default avatarDarshan Sen <darshan.sen@postman.com>

PR-URL: https://github.com/nodejs/node/pull/40675


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 2d368da1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment