Use original bouncycastle instead of spongycastle

spongycastle is used by Signal-Android, because android has a crippled
bouncycastle. Spongycastle seems to have a problem with Oracle JDK 8.

Fixes #9
This commit is contained in:
AsamK 2016-04-03 14:08:46 +02:00
parent f479cffc9f
commit edf5c9eb43
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ repositories {
dependencies {
compile 'org.whispersystems:signal-service-java:2.1.1fetchMessages'
compile 'com.madgag.spongycastle:prov:1.54.0.0'
compile 'org.bouncycastle:bcprov-jdk15on:1.54'
compile 'commons-io:commons-io:2.4'
compile 'net.sourceforge.argparse4j:argparse4j:0.7.0'
compile 'org.freedesktop.dbus:dbus-java:2.7.0'

View file

@ -48,7 +48,7 @@ public class Main {
public static void main(String[] args) {
// Workaround for BKS truststore
Security.insertProviderAt(new org.spongycastle.jce.provider.BouncyCastleProvider(), 1);
Security.insertProviderAt(new org.bouncycastle.jce.provider.BouncyCastleProvider(), 1);
Namespace ns = parseArgs(args);
if (ns == null) {