Ticket Change Details
Overview

Artifact ID: 8db46b2f2469d202b723f9691b3b5014ce3b5246562bc126ca886225d10d8b19
Ticket: 3160b84294c87d84dc96daba09a736a88fd33c4c
Test tlsIO-8.1 fails, when built against 1.1.1a
User & Date: anonymous 2018-12-31 01:28:05
Changes

  1. Change foundin to "1.7.16"
  2. Change icomment to:

    Building and testing against the earlier OpenSSL-versions is fine. However, if one tries the 1.1.1, one of the tests fails:

    ==== tlsIO-8.1 testing -async flag on sockets FAILED
    ==== Contents of test case:
    
    # NOTE: This test may fail on some Solaris 2.4 systems. # See notes in Tcl's socket.test. set s [tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8830] proc accept {s a p} { global x # when doing an in-process client/server test, both sides need # to be non-blocking for the TLS handshake. Also make sure # to return the channel to line buffering mode. fconfigure $s -blocking 0 -buffering line puts $s bye # Only OpenSSL 0.9.5a on Windows seems to need the after (delayed) # close, but it works just the same for all others. -hobbs after 500 close $s set x done } set s1 [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey -async [info hostname] 8830] # when doing an in-process client/server test, both sides need # to be non-blocking for the TLS handshake Also make sure to # return the channel to line buffering mode (TLS sets it to 'none'). fconfigure $s1 -blocking 0 -buffering line vwait x # TLS handshaking needs one byte from the client... puts $s1 a # need update to complete TLS handshake in-process update set z [gets $s1] close $s close $s1 set z

    ---- Result was:

    ---- Result should have been (exact matching): bye ==== tlsIO-8.1 FAILED Tests ended at Sun Dec 30 20:09:51 EST 2018 all.tcl: Total 65 Passed 47 Skipped 17 Failed 1 Sourced 0 Test Files. Files with failing tests: tlsIO.test Number of tests skipped for each constraint:

    1. doTestsWithRemoteServer
    2. notRoot
    3. testthread
    4. unexplainedFailure

    (P.S. Also, trying to login to Fossil with the account 'mi', which I created in 2013 - and last used in 2014 - fails. My browser still remember the password, but the server does not...)

  3. Change login to "anonymous"
  4. Change mimetype to "text/html"
  5. Change private_contact to "3c910f5c2718ed76f02e67a48193f3cdea24c9ab"
  6. Change severity to "Severe"
  7. Change status to "Open"
  8. Change title to "Test tlsIO-8.1 fails, when built against 1.1.1a"
  9. Change type to "Code Defect"