Skip to content

Commit

Permalink
Removed the check for existence of keystore_path (might be on the cla…
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Nov 14, 2024
1 parent f3361a4 commit 22a8a86
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/org/jgroups/util/TLS.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLParameters;
import javax.net.ssl.SSLServerSocket;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.List;

Expand Down Expand Up @@ -120,11 +118,6 @@ public void init() throws Exception {
truststore_type=keystore_type;
truststore_password=keystore_password;
}
if(keystore_path != null) {
File tmp=new File(keystore_path);
if(!tmp.exists())
throw new FileNotFoundException(keystore_path);
}
}

public SSLContext createContext() {
Expand Down

0 comments on commit 22a8a86

Please sign in to comment.