mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 08:40:03 +00:00
Remove bouncycastle dependency from util
This commit is contained in:
@@ -86,7 +86,7 @@ public final class NetworkConstants {
|
|||||||
RSA_MODULUS = privateKey.getModulus();
|
RSA_MODULUS = privateKey.getModulus();
|
||||||
RSA_EXPONENT = privateKey.getPrivateExponent();
|
RSA_EXPONENT = privateKey.getPrivateExponent();
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
throw new ExceptionInInitializerError(new IOException("Error parsing id_rsa", exception));
|
throw new ExceptionInInitializerError(new IOException("Error parsing rsa.pem", exception));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,11 +23,4 @@
|
|||||||
<testSourceDirectory>src/test</testSourceDirectory>
|
<testSourceDirectory>src/test</testSourceDirectory>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.bouncycastle</groupId>
|
|
||||||
<artifactId>bcprov-jdk15on</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
Reference in New Issue
Block a user