Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4854838

Wrong cipher suite on server side when handshake fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.2, 1.4.2_11
    • security-libs
    • None
    • tiger
    • generic, sparc
    • generic, solaris_9

      The SSLSession.getCipherSuite method returns the wrong value when called for
      the server side socket after the handshake has failed. The documentation for
      SSLSocket.getCipherSuite says the return value should be
      "SSL_NULL_WITH_NULL_NULL" in this case, but instead it returns
      "Unknown 0x0:0x0".

      See the Comments section for a test case. I was able to reproduce this problem
      in 1.4.2-beta-b19 and 1.4.1_02-b06. The test case passes successfully in
      1.4.0_01-b03.

            andreas Andreas Sterbenz
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: