Commit dab17f94 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed small tiny error (that no one reported - yet).

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10279 b35dd754-fafc-0310-a699-88a17e54d16e
parent e866a452
......@@ -17,7 +17,10 @@ import org.jivesoftware.util.CertificateManager;
import org.jivesoftware.util.JiveGlobals;
import org.jivesoftware.util.Log;
import javax.net.ssl.*;
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLServerSocketFactory;
import javax.net.ssl.TrustManagerFactory;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
......@@ -181,7 +184,7 @@ public class SSLConfig {
c2sTrustFactory.init(c2sTrustStore);
c2sContext.init(keyFactory.getKeyManagers(),
s2sTrustFactory.getTrustManagers(),
c2sTrustFactory.getTrustManagers(),
new java.security.SecureRandom());
c2sFactory = c2sContext.getServerSocketFactory();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment