Tcl Library Source Code

View Ticket
Login
Ticket UUID: 9cbe339d784fc922cbeb3b029d886d1516753add
Title: pop3-7.0 fails
Type: Bug Version: 1.9
Submitter: anonymous Created on: 2015-04-30 14:56:39
Subsystem: pop3 Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2015-04-30 14:56:39
Resolution: None Closed By: nobody
    Closed on:
Description:
==== modules/pop3/pop3.test pop3-7.0 FAILED =========
==== Contents of test case:

    dialog::shutdown
    dialog::setup server {Pop3 Fake Server} 1
    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
    dialog::dialog_set loginStatusOk
    set psock [pop3::open -socketcmd tls::socket localhost ak smash [dialog::lis
tener]]
    close $psock
    dialog::waitdone
    set msg [string match sock* $psock]
    # status data is retained if the connection is not closed through
    # the prescribed api command.
    lappend msg [peek $psock]
    set msg

---- Result was:
---- Return code should have been one of: 0 2
---- errorInfo: POP3 CONNECT ERROR: error reading "sock6": software caused conne
ction abort
    while executing
"pop3::open -socketcmd tls::socket localhost ak smash [dialog::listener]"
    ("uplevel" body line 8)
    invoked from within
"uplevel 1 $script"
---- Result should have been:

==== modules/pop3/pop3.test pop3-7.0 ====


SSL channel "sock6": error: sslv3 alert handshake failure
connection reset by peer
    while executing
"close  $sock"
    (procedure "Exit" line 4)
    invoked from within
"Exit $sock close"
    (procedure "Input" line 6)
    invoked from within
"Input after#17 sock6"

This may really be a failure in the locally installed tls
package.