changeset 9:731e70088af0 tn5250

adding tn5250 files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 22 May 2014 15:42:48 -0700
parents 3b760b39962a
children e773d0952613
files src/org/tn5250j/framework/transport/SSL/SSLImplementation.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/tn5250j/framework/transport/SSL/SSLImplementation.java	Thu May 22 15:41:35 2014 -0700
+++ b/src/org/tn5250j/framework/transport/SSL/SSLImplementation.java	Thu May 22 15:42:48 2014 -0700
@@ -193,13 +193,13 @@
             bridge.outputLine(manager.res.getString(R.string.host_authenticity_warning, target));
             bridge.outputLine(manager.res.getString(R.string.host_certificate, certInfo));
             Boolean result = bridge.promptHelper.requestBooleanPrompt(null, manager.res.getString(R.string.prompt_accept_certificate));
-            if ((result == null) || (!result.booleanValue()) {
+            if ((result == null) || (!result.booleanValue())) {
 				throw new java.security.cert.CertificateException(
 						"Certificate Rejected");
 			}
 
             result = bridge.promptHelper.requestBooleanPrompt(null, manager.res.getString(R.string.prompt_save_certificate));
-            if ((result != null) && (result.booleanValue()) {
+            if ((result != null) && (result.booleanValue())) {
 				try {
 					userks.setCertificateEntry(cert.getSubjectDN().getName(),
 							cert);