Index: tls.htm ================================================================== --- tls.htm +++ tls.htm @@ -17,12 +17,12 @@ toolkit.
tls - binding to OpenSSL toolkit.
package require Tcl 8.2
+
package require Tcl 8.4
package require tls 1.6
tls::init ?options?
tls::socket ?options? host
port
@@ -73,15 +73,12 @@
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.
-To use TLS with an earlier version of Tcl than 8.2, please obtain
-TLS 1.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. The current version
-of TLS will work with Tcl 8.2+, it is just more stable with 8.3.2+.
+To use TLS with an earlier version of Tcl than 8.4, please obtain
+TLS 1.3.
Typically one would use the tls::socket command @@ -389,14 +386,11 @@
This example requires a patch to the http -module that ships with Tcl - this patch has been submitted for -inclusion in Tcl 8.2.1, but is also provided in the tls directory -if needed. A sample server.pem is provided with the TLS release, +
This example uses a sample server.pem provided with the TLS release, courtesy of the OpenSSL project.
package require http
package require tls