Permalink
Please
sign in to comment.
Browse files
tls: return correct version from getCipher()
OpenSSL 1.0.0 returned incorrect version information. OpenSSL 1.1.0 fixed this, but returning the correct information broke our tests, so was considered semver-major. Because of this, the version was hard-coded to the OpenSSL 1.0.0 (incorrect) string in 5fe81c8. This is ancient history, start returning the correct cipher version. PR-URL: #26625 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
- Loading branch information...
Showing
with
54 additions
and 32 deletions.
- +12 −5 doc/api/tls.md
- +8 −8 lib/_tls_wrap.js
- +4 −3 src/node_crypto.cc
- +1 −1 src/node_crypto.h
- +25 −11 test/parallel/test-tls-getcipher.js
- +2 −2 test/parallel/test-tls-multi-key.js
- +2 −2 test/parallel/test-tls-multi-pfx.js
0 comments on commit
0f745bf