Check-in [55905b84e3]
Overview
Comment:Take over tests/common.tcl from [https://chiselapp.com/user/bohagan/repository/TCLTLS/info/28b250e1fbd071d9|28b250e1fbd071d9]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bohagan
Files: files | file ages | folders
SHA3-256: 55905b84e39a6db46203f889f6b32f7c420aaa3701c83e002a17bd32c317fbea
User & Date: jan.nijtmans on 2024-02-27 16:21:53
Other Links: branch diff | manifest | tags
Context
2024-02-27
16:29
Take over change in tls.c too (from same commit) check-in: eecbce78ef user: jan.nijtmans tags: bohagan
16:21
Take over tests/common.tcl from [https://chiselapp.com/user/bohagan/repository/TCLTLS/info/28b250e1fbd071d9|28b250e1fbd071d9] check-in: 55905b84e3 user: jan.nijtmans tags: bohagan
14:41
Merge trunk check-in: 4fdf191b58 user: jan.nijtmans tags: bohagan
Changes

Modified tests/common.tcl from [3f4b3346c0] to [95c47b8587].

17
18
19
20
21
22
23
24
25
26
27
28
17
18
19
20
21
22
23












-
-
-
-
-
# OpenSSL version
::tcltest::testConstraint OpenSSL [string match "OpenSSL*" [::tls::version]]

# Legacy OpenSSL v1.1.1 vs new v3.x
scan [lindex [split [::tls::version]] 1] %f version
::tcltest::testConstraint new_api [expr {$version >= 3.0}]
::tcltest::testConstraint old_api [expr {$version < 3.0}]

# Load legacy provider
if {$version >= 3.0} {
    tls::provider legacy
}