diff options
Diffstat (limited to 'dev-java/jtds/files/1.2-com.sun.patch')
-rw-r--r-- | dev-java/jtds/files/1.2-com.sun.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-java/jtds/files/1.2-com.sun.patch b/dev-java/jtds/files/1.2-com.sun.patch deleted file mode 100644 index b6b3437aceaa..000000000000 --- a/dev-java/jtds/files/1.2-com.sun.patch +++ /dev/null @@ -1,42 +0,0 @@ -Index: src/main/net/sourceforge/jtds/ssl/SocketFactories.java -=================================================================== -RCS file: /cvsroot/jtds/jtds/src/main/net/sourceforge/jtds/ssl/SocketFactories.java,v -retrieving revision 1.7 -diff -u -r1.7 SocketFactories.java ---- src/main/net/sourceforge/jtds/ssl/SocketFactories.java 28 Apr 2005 14:29:30 -0000 1.7 -+++ src/main/net/sourceforge/jtds/ssl/SocketFactories.java 7 May 2007 18:36:12 -0000 -@@ -29,9 +29,9 @@ - import javax.net.ssl.SSLSocket; - import javax.net.ssl.SSLSocketFactory; - --import com.sun.net.ssl.SSLContext; --import com.sun.net.ssl.TrustManager; --import com.sun.net.ssl.X509TrustManager; -+import javax.net.ssl.SSLContext; -+import javax.net.ssl.TrustManager; -+import javax.net.ssl.X509TrustManager; - - import net.sourceforge.jtds.util.Logger; - -@@ -184,17 +184,13 @@ - return new X509Certificate[0]; - } - -- public boolean isClientTrusted(X509Certificate[] chain) { -- return true; -- } -+ public void checkClientTrusted(X509Certificate[] chain, String authType) {} - -- public boolean isServerTrusted(X509Certificate[] chain) { -- return true; -- } -+ public void checkServerTrusted(X509Certificate[] chain, String authType) {} - }; - - return new X509TrustManager[]{tm}; - } - - } --} -\ No newline at end of file -+} |