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 @@ -669,19 +669,19 @@ to implement the `tls-unique` channel binding from [RFC 5929][].
669
669
added: v5.7.0
670
670
-->
671
671
672
- * Returns: {string}
672
+ * Returns: {string|null }
673
673
674
674
Returns a string containing the negotiated SSL/TLS protocol version of the
675
675
current connection. The value ` 'unknown' ` will be returned for connected
676
676
sockets that have not completed the handshaking process. The value ` null ` will
677
677
be returned for server sockets or disconnected client sockets.
678
678
679
- Example responses include :
679
+ Protocol versions are :
680
680
681
- * ` TLSv1 `
682
- * ` TLSv1.1 `
683
- * ` TLSv1.2 `
684
- * ` unknown `
681
+ * ` ' TLSv1' `
682
+ * ` ' TLSv1.1' `
683
+ * ` ' TLSv1.2' `
684
+ * ` 'SSLv3' `
685
685
686
686
See < https://www.openssl.org/docs/man1.1.0/ssl/SSL_get_version.html > for more
687
687
information.
You can’t perform that action at this time.
0 commit comments