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, 5:57 PM
Fixed

Assignee

Dave Cridland

Reporter

Daryl Herzmann

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure