aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2013-09-06 14:00:16 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2013-09-06 14:00:16 +0200
commit51cf7939d8c17a1d42bf335892e77c2512729a4e (patch)
treeea40dfbbea7704674cd95f62b8ba4cbd5758e9c9 /OpenPGP-Keychain/src/org/sufficientlysecure/keychain/KeychainApplication.java
parent7ba145740b0f43616b3923b2c183e3cd68bf5a4f (diff)
downloadopen-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.java4
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)) {