mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 12:32:17 +00: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