Mercurial Hosting > luan
comparison src/goodjava/io/IoUtils.java @ 1981:ad312de2a30e
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 27 Jun 2025 19:51:12 -0600 |
parents | 745f756e719b |
children |
comparison
equal
deleted
inserted
replaced
1980:2662ff07a6c8 | 1981:ad312de2a30e |
---|---|
157 } | 157 } |
158 } | 158 } |
159 | 159 |
160 | 160 |
161 static { | 161 static { |
162 // undo restrictions of modern scum | 162 // undo stupid modern restrictions |
163 Security.setProperty("jdk.tls.disabledAlgorithms","SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC"); | 163 Security.setProperty("jdk.tls.disabledAlgorithms","SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC"); |
164 } | 164 } |
165 | 165 |
166 public static SSLSocketFactory getSSLSocketFactory() { | 166 public static SSLSocketFactory getSSLSocketFactory() { |
167 return (SSLSocketFactory)SSLSocketFactory.getDefault(); | 167 return (SSLSocketFactory)SSLSocketFactory.getDefault(); |