File tree 1 file changed +6
-6
lines changed
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][].
756
756
added: v5.7.0
757
757
-->
758
758
759
- * Returns: {string}
759
+ * Returns: {string|null }
760
760
761
761
Returns a string containing the negotiated SSL/TLS protocol version of the
762
762
current connection. The value ` 'unknown' ` will be returned for connected
763
763
sockets that have not completed the handshaking process. The value ` null ` will
764
764
be returned for server sockets or disconnected client sockets.
765
765
766
- Example responses include :
766
+ Protocol versions are :
767
767
768
- * ` TLSv1 `
769
- * ` TLSv1.1 `
770
- * ` TLSv1.2 `
771
- * ` unknown `
768
+ * ` ' TLSv1' `
769
+ * ` ' TLSv1.1' `
770
+ * ` ' TLSv1.2' `
771
+ * ` 'SSLv3' `
772
772
773
773
See < https://www.openssl.org/docs/man1.1.0/ssl/SSL_get_version.html > for more
774
774
information.
You can’t perform that action at this time.
0 commit comments