Commit c9f6776d authored by Fedor Indutny's avatar Fedor Indutny
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 46f40cfb
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