Ticket Change Details
Overview

Artifact ID: ba6c48b689b28ae5e91f92e326cd253c38418ce54931ed63c46a66c33fbaf44e
Ticket: 82560343da66fe8a8914bda22c4575bdf00d4f30
Test-suite errors on Windows
User & Date: anonymous on 2025-07-08 20:28:20
Changes

  1. foundin changed to: "2.0b1"
  2. icomment:
    Mananged to build tcltls with Tcl/Tk 9.0.2 on Windows using gcc 14.2.0:
    
    1. Configured and compiled OpenSSL 3.5.1 with default settings.
    
    2. Added ws2_32.lib and Crypt32.lib in configure.ac and regenerated configure.
    
        `if test "${TEA_PLATFORM}" = "windows" ; then
            if test "$GCC" = "yes"; then
                TEA_ADD_CFLAGS([${TCLTLS_SSL_CFLAGS} -Wno-deprecated-declarations])
                TEA_ADD_INCLUDES([${TCLTLS_SSL_INCLUDES}])
                TEA_ADD_LIBS([${TCLTLS_SSL_LIBS} ws2_32.lib Crypt32.lib])
            fi
        ...
    `
    
    3. Configured and compiled tcltls 2.0 using the following configure options:
    
        `--with-openssl-dir
        --enable-static-ssl
        --enable-hardening
    `
    4. Several tests failed. The results of the test-suite are contained in file tls.log.
    
       I also was not able to run the keytest tests:
    
        > tclsh keytest1.tcl
        Now run keytest2.tcl
        unable to set certificate file C:/Temp/certfile56986.TMP: ee key too small
            while executing
        "tls::import sock26f2630 -server 1 -keyfile C:/Temp/keyfile56530.TMP -certfile C:/Temp/certfile56986.TMP"
            ("eval" body line 1)
            invoked from within
        "eval [list tls::import $chan] $iopts"
            (procedure "tls::_accept" line 4)
            invoked from within
        "tls::_accept {-server 1 -keyfile C:/Temp/keyfile56530.TMP -certfile C:/Temp/certfile56986.TMP} myserv sock26f2630 127.0.0.1 63081"
    
        > tclsh keytest2.tcl
        error flushing "sock344b4c0": software caused connection abort
            while executing
        "flush $s"
            (file "keytest2.tcl" line 8)
    
  3. login: "anonymous"
  4. mimetype: "text/x-markdown"
  5. severity changed to: "Important"
  6. status changed to: "Open"
  7. title changed to: "Test-suite errors on Windows"
  8. type changed to: "Code Defect"