Skip to content

Commit

Permalink
TEIID-4068 correcting the ssl check
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Mar 11, 2016
1 parent f438561 commit 7982003
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -581,14 +581,14 @@ public void sendSslResponse() {
engine = config.getServerSSLEngine();
}
} catch (IOException e) {
LogManager.logError(LogConstants.CTX_ODBC, e, RuntimePlugin.Util.gs(requireSecure?RuntimePlugin.Event.TEIID40122:RuntimePlugin.Event.TEIID40016));
LogManager.logError(LogConstants.CTX_ODBC, e, RuntimePlugin.Util.gs(secureData()?RuntimePlugin.Event.TEIID40122:RuntimePlugin.Event.TEIID40016));
} catch (GeneralSecurityException e) {
LogManager.logError(LogConstants.CTX_ODBC, e, RuntimePlugin.Util.gs(requireSecure?RuntimePlugin.Event.TEIID40122:RuntimePlugin.Event.TEIID40016));
LogManager.logError(LogConstants.CTX_ODBC, e, RuntimePlugin.Util.gs(secureData()?RuntimePlugin.Event.TEIID40122:RuntimePlugin.Event.TEIID40016));
}
ByteBuf buffer = Unpooled.buffer(1);
ChannelPromise promise = this.ctx.newPromise();
if (engine == null) {
if (requireSecure) {
if (secureData()) {
sendErrorResponse(RuntimePlugin.Util.gs(RuntimePlugin.Event.TEIID40124));
return;
}
Expand Down

0 comments on commit 7982003

Please sign in to comment.