History Of Ticket 3160b84294c87d84dc96daba09a736a88fd33c4c

Artifacts Associated With Ticket 3160b84294c87d84dc96daba09a736a88fd33c4c

  1. Ticket change [8db46b2f24] (rid 1374) by anonymous on 2018-12-31 01:28:05:

    1. foundin initialized to: "1.7.16"
    2. icomment:
      <p align="justify">Building and testing against the earlier OpenSSL-versions is fine. However, if one tries the 1.1.1, one of the tests fails:
      <blockquote><pre>
      ==== 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:
              12      doTestsWithRemoteServer
              2       notRoot
              1       testthread
              2       unexplainedFailure</pre></blockquote>
      
      <p align="justify">(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. login: "anonymous"
    4. mimetype: "text/html"
    5. private_contact initialized to: "3c910f5c2718ed76f02e67a48193f3cdea24c9ab"
    6. severity initialized to: "Severe"
    7. status initialized to: "Open"
    8. title initialized to: "Test tlsIO-8.1 fails, when built against 1.1.1a"
    9. type initialized to: "Code Defect"