Commit 5f3ab3ff authored by Fedor Indutny's avatar Fedor Indutny Committed by cjihrig
Browse files

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: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 98f51ffe
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