You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2017/08/31 11:00:26 UTC

qpid-proton-j git commit: PROTON-1565: don't throw if the anonymous ciphers are not supported

Repository: qpid-proton-j
Updated Branches:
  refs/heads/master 68f30de35 -> 8417d9a80


PROTON-1565: don't throw if the anonymous ciphers are not supported


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/commit/8417d9a8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/tree/8417d9a8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/diff/8417d9a8

Branch: refs/heads/master
Commit: 8417d9a80990ccd40c89c66edc90b2b0a9fbdfd2
Parents: 68f30de
Author: Robbie Gemmell <ro...@apache.org>
Authored: Thu Aug 31 11:59:13 2017 +0100
Committer: Robbie Gemmell <ro...@apache.org>
Committed: Thu Aug 31 11:59:13 2017 +0100

----------------------------------------------------------------------
 .../proton/engine/impl/ssl/SslEngineFacadeFactory.java    | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/8417d9a8/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
----------------------------------------------------------------------
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
index e82e1bb..309e0dc 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
@@ -414,15 +414,7 @@ public class SslEngineFacadeFactory
             }
         }
 
-        if (addedAnonymousCipherSuites == 0)
-        {
-            throw new TransportException
-                ("None of " + anonymousCipherSuites
-                 + " anonymous cipher suites are within the supported list "
-                 + supportedSuites);
-        }
-
-        if(_logger.isLoggable(Level.FINE))
+        if (addedAnonymousCipherSuites > 0 && _logger.isLoggable(Level.FINE))
         {
             _logger.fine("There are now " + newEnabled.size()
                     + " cipher suites enabled (previously " + currentEnabled.size()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org