Skip to content

Commit 030511b

Browse files
author
Matthias Radestock
committed
merge bug19356 into default
2 parents ac7dd74 + cfb49ea commit 030511b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void useSslProtocol(String protocol, TrustManager trustManager)
128128
{
129129
SSLContext c = SSLContext.getInstance(protocol);
130130
c.init(null, new TrustManager[] { trustManager }, null);
131-
setSocketFactory(c.getSocketFactory());
131+
useSslProtocol(c);
132132
}
133133

134134
/**

0 commit comments

Comments
 (0)