Skip to content

Commit 22a8a86

Browse files
committed
Removed the check for existence of keystore_path (might be on the classpath): https://issues.redhat.com/browse/JGRP-2846
1 parent f3361a4 commit 22a8a86

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/org/jgroups/util/TLS.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
import javax.net.ssl.SSLContext;
99
import javax.net.ssl.SSLParameters;
1010
import javax.net.ssl.SSLServerSocket;
11-
import java.io.File;
12-
import java.io.FileNotFoundException;
1311
import java.util.ArrayList;
1412
import java.util.List;
1513

@@ -120,11 +118,6 @@ public void init() throws Exception {
120118
truststore_type=keystore_type;
121119
truststore_password=keystore_password;
122120
}
123-
if(keystore_path != null) {
124-
File tmp=new File(keystore_path);
125-
if(!tmp.exists())
126-
throw new FileNotFoundException(keystore_path);
127-
}
128121
}
129122

130123
public SSLContext createContext() {

0 commit comments

Comments
 (0)