mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-21 17:24:38 +01:00
Update gradle-witness and actually use spongycastle.
// FREEBIE
This commit is contained in:
@@ -32,6 +32,8 @@ import org.whispersystems.jobqueue.JobManager;
|
||||
import org.whispersystems.jobqueue.dependencies.DependencyInjector;
|
||||
import org.whispersystems.jobqueue.requirements.NetworkRequirementProvider;
|
||||
|
||||
import java.security.Security;
|
||||
|
||||
import dagger.ObjectGraph;
|
||||
|
||||
/**
|
||||
@@ -72,6 +74,7 @@ public class ApplicationContext extends Application implements DependencyInjecto
|
||||
|
||||
|
||||
private void initializeRandomNumberFix() {
|
||||
Security.insertProviderAt(new org.spongycastle.jce.provider.BouncyCastleProvider(), 1);
|
||||
PRNGFixes.apply();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user