Skip to content
This repository has been archived by the owner on Mar 10, 2019. It is now read-only.

Commit

Permalink
HTTPS support
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Jan 31, 2018
1 parent b12ab20 commit 5e095c7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/net/socialgamer/cah/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import net.socialgamer.cah.task.BroadcastGameListUpdateTask;
import net.socialgamer.cah.task.RefreshAdminTokenTask;
import net.socialgamer.cah.task.UserPingTask;
import org.bouncycastle.jce.provider.BouncyCastleProvider;

import javax.net.ssl.*;
import java.io.File;
Expand All @@ -35,10 +34,6 @@ public class Server {
private static final long BROADCAST_UPDATE_DELAY = TimeUnit.SECONDS.toMillis(60);
private static final long REFRESH_ADMIN_TOKEN_DELAY = TimeUnit.MINUTES.toMillis(5);

static {
Security.addProvider(new BouncyCastleProvider());
}

public static void main(String[] args) throws IOException, SQLException, UnrecoverableKeyException, CertificateException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException {
Preferences preferences = Preferences.load(args);
int maxGames = preferences.getInt("maxGames", 100);
Expand Down

0 comments on commit 5e095c7

Please sign in to comment.