bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug crypto/29692] New: SSLSocket.getSession() does not do an implicit h


From: vskytta at gmail dot com
Subject: [Bug crypto/29692] New: SSLSocket.getSession() does not do an implicit handshake
Date: 2 Nov 2006 20:46:43 -0000

According to
http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/SSLSocket.html,
SSLSocket.getSession() should set up a session and do an implicit handshake;
however that does not appear to be the case with libgcj 4.1.1-30 of Fedora Core
6 (I assume that's classpath 0.92).

Trying to read certificates after an initial getSession() without an explicit
handshake results in a "peer not verified" and if I understand the code
correctly, no handshake is attempted under the hood.  This does not happen with
any other crypto implementations that I'm aware of - instead, the documented
implicit handshake is done.


-- 
           Summary: SSLSocket.getSession() does not do an implicit handshake
           Product: classpath
           Version: 0.92
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: crypto
        AssignedTo: csm at gnu dot org
        ReportedBy: vskytta at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29692





reply via email to

[Prev in Thread] Current Thread [Next in Thread]