test/javax/net/ssl/TLS/CipherTestUtils.java
Print this page
rev 10851 : Fix typo in test case
*** 259,282 ****
}
return s;
}
}
! private static volatile CipherTestUtils instnace = null;
public static CipherTestUtils getInstance() throws IOException,
FileNotFoundException, KeyStoreException,
NoSuchAlgorithmException, CertificateException,
UnrecoverableKeyException, InvalidKeySpecException {
! if (instnace == null) {
synchronized (CipherTestUtils.class) {
! if (instnace == null) {
! instnace = new CipherTestUtils();
}
}
}
! return instnace;
}
public static void setTestedArguments(String testedProtocol,
String testedCipherSuite) {
--- 259,282 ----
}
return s;
}
}
! private static volatile CipherTestUtils instance = null;
public static CipherTestUtils getInstance() throws IOException,
FileNotFoundException, KeyStoreException,
NoSuchAlgorithmException, CertificateException,
UnrecoverableKeyException, InvalidKeySpecException {
! if (instance == null) {
synchronized (CipherTestUtils.class) {
! if (instance == null) {
! instance = new CipherTestUtils();
}
}
}
! return instance;
}
public static void setTestedArguments(String testedProtocol,
String testedCipherSuite) {