| Description: |
==== modules/comm/comm.test comm-6.0 FAILED =========
==== Contents of test case:
SSL channel "sock6": error: sslv3 alert handshake failure
# Setup secured channel in main process.
tls::init -keyfile [tcllibPath devtools/receiver.key] -certfile [tcllibPa
th devtools/receiver.crt] -cafile [tcllibPath devtools/ca.crt] -ssl2 1 -
ssl3 1 -tls1 0 -require 1
comm::comm new BAR -socketcmd tls::socket -listen 1
# Setup secured channel in slave process
::comm::comm send [slave] {
package require tls
set fox dog
}
::comm::comm send [slave] [list tls::init -keyfile [tcllibPath devtools/
transmitter.key] -certfile [tcllibPath devtools/transmitter.crt] -cafile [tc
llibPath devtools/ca.crt] -ssl2 1 -ssl3 1 -tls1 0 -require 1]
set FOO [::comm::comm send [slave] {
comm::comm new FOO -socketcmd tls::socket -listen 1
FOO self
}] ; # {}
# Run command interaction over the secured channel
set res [BAR send $FOO {set fox}]
# Cleanup, remove secured endpoints
comm::comm send [slave] {FOO destroy}
BAR destroy
# Return result of the secured command
set res
---- Result was:
---- Return code should have been one of: 0 2
---- errorInfo: target application died or connection lost
while executing
"::comm::comm_cmd_send ::BAR 35868 {set fox}"
("uplevel" body line 1)
invoked from within
"uplevel 1 [linsert $args 0 $method $chan]"
(procedure "BAR" line 8)
invoked from within
"BAR send $FOO {set fox}"
("uplevel" body line 18)
invoked from within
"uplevel 1 $script"
---- Result should have been:
==== modules/comm/comm.test comm-6.0 ====
Strong possibility this is really a failure in the
locally installed tls package, but in that case the
test ought to anticipate that possibility.
|