File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -669,19 +669,19 @@ to implement the `tls-unique` channel binding from [RFC 5929][].
669669added: v5.7.0
670670-->
671671
672- * Returns: {string}
672+ * Returns: {string|null }
673673
674674Returns a string containing the negotiated SSL/TLS protocol version of the
675675current connection. The value ` 'unknown' ` will be returned for connected
676676sockets that have not completed the handshaking process. The value ` null ` will
677677be returned for server sockets or disconnected client sockets.
678678
679- Example responses include :
679+ Protocol versions are :
680680
681- * ` TLSv1 `
682- * ` TLSv1.1 `
683- * ` TLSv1.2 `
684- * ` unknown `
681+ * ` ' TLSv1' `
682+ * ` ' TLSv1.1' `
683+ * ` ' TLSv1.2' `
684+ * ` 'SSLv3' `
685685
686686See < https://www.openssl.org/docs/man1.1.0/ssl/SSL_get_version.html > for more
687687information.
You can’t perform that action at this time.
0 commit comments