Index: tls.htm ================================================================== --- tls.htm +++ tls.htm @@ -18,11 +18,12 @@ toolkit.
SYNOPSIS
-
package require tls ?1.3?
+
package require Tcl ?8.2?
+
package require tls ?1.4?
 
tls::init ?options?
tls::socket ?options? host port
tls::socket ?-server command? ?options? port
@@ -46,11 +47,12 @@

tls - binding to OpenSSL toolkit.

SYNOPSIS

-

package require tls ?1.3?
+

package require Tcl 8.2
+package require tls 1.4

tls::init ?options?
tls::socket ?options? host port
tls::socket ?-server command? ?options? port
@@ -62,16 +64,21 @@ protocol ?verbose?

DESCRIPTION

This extension provides a generic binding to OpenSSL, utilizing the Trf -Channel Stacking patch for Tcl 8.[01] and the new Tcl_StackChannel +href="http://www.openssl.org/">OpenSSL, utilizing the +Tcl_StackChannel API for Tcl 8.2 and higher. The sockets behave exactly the same as channels created using Tcl's built-in socket -command with additional options for controlling the SSL session.

+command with additional options for controlling the SSL session. +To use TLS with an earlier version of Tcl than 8.2, please obtain +TLS v1.3. Please note that there are known limitations with the +stacked channel implementation prior to 8.3.2, so it is recommended +that TLS is used with an 8.3.2+ interpreter. TLS v1.4 will work +with 8.2+, it is just more stable with 8.3.2+. +

COMMANDS

Typically one would use the tls::socket command which provides compatibility with the native Tcl socket