crypto: fix undefined behavior in ParseExtension
Many extensions are unknown to the `ClientHelloParser::ParseExtension`, do not cast user-supplied `uint16_t` to `enum`. PR-URL: https://github.com/nodejs/node/pull/7494 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl>
parent
46f40cfb
Please register or sign in to comment