diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-06 14:00:16 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-06 14:00:16 +0200 |
commit | 51cf7939d8c17a1d42bf335892e77c2512729a4e (patch) | |
tree | ea40dfbbea7704674cd95f62b8ba4cbd5758e9c9 /OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java | |
parent | 7ba145740b0f43616b3923b2c183e3cd68bf5a4f (diff) | |
download | open-keychain-51cf7939d8c17a1d42bf335892e77c2512729a4e.tar.gz open-keychain-51cf7939d8c17a1d42bf335892e77c2512729a4e.tar.bz2 open-keychain-51cf7939d8c17a1d42bf335892e77c2512729a4e.zip |
Add PRNG fixes by Google
Diffstat (limited to 'OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java')
-rw-r--r-- | OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java index e63c44760..3f2334fe8 100644 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java +++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java @@ -20,6 +20,7 @@ import java.io.File; import java.security.Security; import org.spongycastle.jce.provider.BouncyCastleProvider; +import org.sufficientlysecure.keychain.util.PRNGFixes; import android.app.Application; import android.os.Environment; @@ -34,6 +35,9 @@ public class KeychainApplication extends Application { @Override public void onCreate() { super.onCreate(); + + // apply RNG fixes + PRNGFixes.apply(); // Create APG directory on sdcard if not existing if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { |