Commit 632caddf authored by Artem Maksimov's avatar Artem Maksimov Committed by Rich Trott
Browse files

tls: refactor tls_wrap.cc

Store the result of excetuting the function in variable. Instead of
excetuting it for multiple times.

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


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarDavid Carlier <devnexen@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent 55f4db18
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