tls: include invalid method name in thrown error · nodejs/node@6ca0270 · GitHub
Skip to content

Commit 6ca0270

Browse files
sam-githubtargos
authored andcommitted
tls: include invalid method name in thrown error
When an invalid TLS method name error is thrown, include the invalid name in the error message. PR-URL: #27390 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ae2333d commit 6ca0270

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/node_crypto.cc

Lines changed: 2 additions & 1 deletion

test/parallel/test-tls-no-sslv23.js

Lines changed: 4 additions & 1 deletion

0 commit comments

Comments
 (0)