IBM JVM does not allow renegotiate
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1229 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
1a995d876d
commit
3e15950eed
|
@ -18,7 +18,7 @@ import org.eclipse.jetty.server.Connector;
|
|||
*/
|
||||
public interface SslConnector extends Connector
|
||||
{
|
||||
public static final String DEFAULT_KEYSTORE_ALGORITHM=(Security.getProperty("ssl.KeyManagerFactory.algorithm")==null?"SunX509":Security.getProperty("ssl.KeyManagerFactory.algorithm"));;
|
||||
public static final String DEFAULT_KEYSTORE_ALGORITHM=(Security.getProperty("ssl.KeyManagerFactory.algorithm")==null?"SunX509":Security.getProperty("ssl.KeyManagerFactory.algorithm"));
|
||||
public static final String DEFAULT_TRUSTSTORE_ALGORITHM=(Security.getProperty("ssl.TrustManagerFactory.algorithm")==null?"SunX509":Security.getProperty("ssl.TrustManagerFactory.algorithm"));
|
||||
|
||||
/** Default value for the keystore location path. */
|
||||
|
|
|
@ -11,6 +11,7 @@ import javax.net.ssl.HostnameVerifier;
|
|||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLEngine;
|
||||
import javax.net.ssl.SSLEngineResult;
|
||||
import javax.net.ssl.SSLProtocolException;
|
||||
import javax.net.ssl.SSLSession;
|
||||
import javax.net.ssl.TrustManager;
|
||||
import javax.net.ssl.X509TrustManager;
|
||||
|
@ -169,8 +170,12 @@ public class SslRenegotiateTest extends TestCase
|
|||
}
|
||||
catch(IOException e)
|
||||
{
|
||||
// System.err.println(e);
|
||||
assertFalse(reneg);
|
||||
if (!(e instanceof SSLProtocolException))
|
||||
{
|
||||
if (reneg)
|
||||
Log.warn(e);
|
||||
assertFalse(reneg);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue