8017157: catch more exception in test RejectClientRenego
Reviewed-by: vinnie
This commit is contained in:
parent
338bfbd857
commit
b0246ef1ae
@ -131,7 +131,7 @@ public class RejectClientRenego implements
|
||||
sslOS.flush();
|
||||
}
|
||||
throw new Exception("Not reject client initialized renegotiation");
|
||||
} catch (SSLHandshakeException she) {
|
||||
} catch (IOException ioe) {
|
||||
System.out.println("Got the expected exception");
|
||||
} finally {
|
||||
sslSocket.close();
|
||||
@ -181,7 +181,7 @@ public class RejectClientRenego implements
|
||||
sslIS.read();
|
||||
}
|
||||
throw new Exception("Not reject client initialized renegotiation");
|
||||
} catch (SSLHandshakeException she) {
|
||||
} catch (IOException ioe) {
|
||||
System.out.println("Got the expected exception");
|
||||
} finally {
|
||||
sslSocket.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user