Skip to content

tls: add getProtocol() to TLS sockets#4995

Closed
mscdex wants to merge 2 commits intonodejs:masterfrom
mscdex:feature-tls-getprotocol
Closed

tls: add getProtocol() to TLS sockets#4995
mscdex wants to merge 2 commits intonodejs:masterfrom
mscdex:feature-tls-getprotocol

Conversation

@mscdex
Copy link
Contributor

@mscdex mscdex commented Jan 31, 2016

These commits add a new method for TLS sockets that returns the negotiated protocol version and fix a documentation problem. tlsSocket.getCipher() is documented as returning the current protocol version, but that is incorrect. It merely returns the first protocol version in which that cipher first appeared/was supported.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-minor PRs that contain new features and should be released in the next minor version. tls Issues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants