X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=src%2Fclub%2Fwpia%2Fgigi%2FLauncher.java;h=c5e43ce62bce338b5791c3b80d2b13bd29bcbb12;hp=fdcc739b7074112541dd161acf232b9331de39cf;hb=87e6b549accda0e42bd0ffd5d28c8b0bbf0e8ee4;hpb=62b9a6519d6304820fdfa739ef9281e1cdaccb7d diff --git a/src/club/wpia/gigi/Launcher.java b/src/club/wpia/gigi/Launcher.java index fdcc739b..c5e43ce6 100644 --- a/src/club/wpia/gigi/Launcher.java +++ b/src/club/wpia/gigi/Launcher.java @@ -59,7 +59,6 @@ import club.wpia.gigi.api.GigiAPI; import club.wpia.gigi.email.EmailProvider; import club.wpia.gigi.natives.SetUID; import club.wpia.gigi.ocsp.OCSPResponder; -import club.wpia.gigi.util.CipherInfo; import club.wpia.gigi.util.PEM; import club.wpia.gigi.util.ServerConstants; import club.wpia.gigi.util.ServerConstants.Host; @@ -273,19 +272,12 @@ public class Launcher { private static SslContextFactory generateSSLContextFactory(GigiConfig conf, String alias) throws GeneralSecurityException, IOException { SslContextFactory scf = new SslContextFactory() { - String[] ciphers = null; - @Override public void customize(SSLEngine sslEngine) { super.customize(sslEngine); SSLParameters ssl = sslEngine.getSSLParameters(); ssl.setUseCipherSuitesOrder(true); - if (ciphers == null) { - ciphers = CipherInfo.filter(sslEngine.getSupportedCipherSuites()); - } - - ssl.setCipherSuites(ciphers); sslEngine.setSSLParameters(ssl); }