src/macosx/classes/apple/security/KeychainStore.java

Print this page

        

*** 101,111 **** */ private static final int iterationCount = 1024; private static final int SALT_LEN = 20; static { ! java.security.AccessController.doPrivileged((PrivilegedAction<?>)new sun.security.action.LoadLibraryAction("osx")); try { PKCS8ShroudedKeyBag_OID = new ObjectIdentifier(keyBag); pbeWithSHAAnd3KeyTripleDESCBC_OID = new ObjectIdentifier(pbeWithSHAAnd3KeyTripleDESCBC); } catch (IOException ioe) { // should not happen --- 101,117 ---- */ private static final int iterationCount = 1024; private static final int SALT_LEN = 20; static { ! AccessController.doPrivileged( ! new PrivilegedAction<Void>() { ! public Void run() { ! System.loadLibrary("osx"); ! return null; ! } ! }); try { PKCS8ShroudedKeyBag_OID = new ObjectIdentifier(keyBag); pbeWithSHAAnd3KeyTripleDESCBC_OID = new ObjectIdentifier(pbeWithSHAAnd3KeyTripleDESCBC); } catch (IOException ioe) { // should not happen