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 @@ -756,19 +756,19 @@ to implement the `tls-unique` channel binding from [RFC 5929][].
756756added: v5.7.0
757757-->
758758
759- * Returns: {string}
759+ * Returns: {string|null }
760760
761761Returns a string containing the negotiated SSL/TLS protocol version of the
762762current connection. The value ` 'unknown' ` will be returned for connected
763763sockets that have not completed the handshaking process. The value ` null ` will
764764be returned for server sockets or disconnected client sockets.
765765
766- Example responses include :
766+ Protocol versions are :
767767
768- * ` TLSv1 `
769- * ` TLSv1.1 `
770- * ` TLSv1.2 `
771- * ` unknown `
768+ * ` ' TLSv1' `
769+ * ` ' TLSv1.1' `
770+ * ` ' TLSv1.2' `
771+ * ` 'SSLv3' `
772772
773773See < https://www.openssl.org/docs/man1.1.0/ssl/SSL_get_version.html > for more
774774information.
You can’t perform that action at this time.
0 commit comments