Unverified Commit 4cf7dcff authored by Shigeki Ohtsu's avatar Shigeki Ohtsu Committed by Myles Borins
Browse files

crypto: remove unnecessary variables of alpn/npn

The Local variables of `npn_buffer` and `alpn_buffer` are not
necessary to be created from `args[0]`. Remove and fold them into the
subsequent call.

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


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarMyles Borins <myles.borins@gmail.com>
parent a67ada7d
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