This commit is contained in:
Michele Balistreri 2020-04-15 13:46:49 +03:00
parent 3acea10750
commit 144474415d
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ android {
dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'org.bouncycastle:bcprov-jdk15on:1.60'
implementation 'org.bouncycastle:bcprov-jdk15on:1.65'
implementation project(':android')

View File

@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'maven'
dependencies {
implementation 'org.bouncycastle:bcprov-jdk15on:1.60'
implementation 'org.bouncycastle:bcprov-jdk15on:1.65'
}
task sourcesJar(type: Jar, dependsOn: classes) {

View File

@ -61,7 +61,7 @@ public class Crypto {
} catch (InvalidKeyException | IllegalBlockSizeException | BadPaddingException | InvalidAlgorithmParameterException e) {
throw new RuntimeException("error generating session keys.", e);
} catch (NoSuchProviderException e) {
throw new RuntimeException("SpongyCastle not installed");
throw new RuntimeException("BouncyCastle not installed");
}
}