forked from I2P_Developers/i2p.i2p
SSL: Don't prohibit SSLv3 ciphers if that's all we have
This commit is contained in:
@@ -261,8 +261,15 @@ public class I2PSSLSocketFactory {
|
|||||||
* @since 0.9.16
|
* @since 0.9.16
|
||||||
*/
|
*/
|
||||||
public static void setProtocolsAndCiphers(SSLServerSocket socket) {
|
public static void setProtocolsAndCiphers(SSLServerSocket socket) {
|
||||||
socket.setEnabledProtocols(selectProtocols(socket.getEnabledProtocols(),
|
String[] p = selectProtocols(socket.getEnabledProtocols(),
|
||||||
socket.getSupportedProtocols()));
|
socket.getSupportedProtocols());
|
||||||
|
for (int i = 0; i < p.length; i++) {
|
||||||
|
// if we left SSLv3 in there, we don't support TLS,
|
||||||
|
// so we should't remove the SSL ciphers
|
||||||
|
if (p.equals("SSLv3"))
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
socket.setEnabledProtocols(p);
|
||||||
socket.setEnabledCipherSuites(selectCipherSuites(socket.getEnabledCipherSuites(),
|
socket.setEnabledCipherSuites(selectCipherSuites(socket.getEnabledCipherSuites(),
|
||||||
socket.getSupportedCipherSuites()));
|
socket.getSupportedCipherSuites()));
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
2014-10-23 zzz
|
||||||
|
* SessionKeyManager:
|
||||||
|
- Raise inbound limit
|
||||||
|
- Delete oldest tagsets when limit is hit
|
||||||
|
- Don't delete recent tagsets when limit is hit
|
||||||
|
* SSL: Don't prohibit SSLv3 ciphers if that's all we have
|
||||||
|
|
||||||
2014-10-20 zzz
|
2014-10-20 zzz
|
||||||
* Console: Fix lockups (ticket #1395)
|
* Console: Fix lockups (ticket #1395)
|
||||||
* Eepsite Jetty: Switch back to QueuedThreadPool (ticket #1395)
|
* Eepsite Jetty: Switch back to QueuedThreadPool (ticket #1395)
|
||||||
|
@@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 14;
|
public final static long BUILD = 15;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "-rc";
|
public final static String EXTRA = "-rc";
|
||||||
|
Reference in New Issue
Block a user