Skip to content
Permalink
Browse files Browse the repository at this point in the history
Additional fix for TLS connection I missed from original patch
  • Loading branch information
ckelleyRH committed Feb 14, 2022
1 parent 5922560 commit 3aabe0e
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -961,7 +961,6 @@ private SSLException checkSSLAlerts() {
while (ssl_fd.inboundOffset < ssl_fd.inboundAlerts.size()) {
SSLAlertEvent event = ssl_fd.inboundAlerts.get(ssl_fd.inboundOffset);
ssl_fd.inboundOffset += 1;
event.setEngine(this);

if (event.getLevelEnum() == SSLAlertLevel.WARNING && event.getDescriptionEnum() == SSLAlertDescription.CLOSE_NOTIFY) {
debug("Got inbound CLOSE_NOTIFY alert");
Expand All @@ -985,7 +984,6 @@ private SSLException checkSSLAlerts() {
while (ssl_fd.outboundOffset < ssl_fd.outboundAlerts.size()) {
SSLAlertEvent event = ssl_fd.outboundAlerts.get(ssl_fd.outboundOffset);
ssl_fd.outboundOffset += 1;
event.setEngine(this);

if (event.getLevelEnum() == SSLAlertLevel.WARNING && event.getDescriptionEnum() == SSLAlertDescription.CLOSE_NOTIFY) {
debug("Sent outbound CLOSE_NOTIFY alert.");
Expand Down

0 comments on commit 3aabe0e

Please sign in to comment.