failure tag not closed for TLS Negotiation Failure

Description

If the TLS negotiation succeeds, openfire will return to the client the correct tag <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>.
However, if it fails, openfire will return an invalid tag <failure xmlns="urn:ietf:params:xml:ns:xmpp-tls">. Please note that the tag is not properly closed.

The correct response is <failure xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> and it appears in 2 places
org.jivesoftware.openfire.net.SocketReadingMode.negotiateTLS
org.jivesoftware.openfire.net.StanzaHandler.negotiateTLS

Environment

None

Activity

Show:

Daryl Herzmann October 30, 2015 at 5:57 PM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 30, 2015 at 5:54 PM
Updated November 12, 2015 at 9:05 PM
Resolved October 30, 2015 at 11:42 PM