Skip to content

Commit

Permalink
Remove "SpongyCastle"
Browse files Browse the repository at this point in the history
A continuation of TeamAmaze#1870, remove any other SpongyCastle references in code comments
  • Loading branch information
TranceLove committed May 16, 2020
1 parent 54e666d commit 44ac49e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
/**
* sshj {@link net.schmizz.sshj.Config} for our own use.
*
* Borrowed from original AndroidConfig, but also use SpongyCastle from the start altogether.
* Borrowed from original AndroidConfig, but also use vanilla BouncyCastle from the start altogether.
*
* @see net.schmizz.sshj.Config
* @see net.schmizz.sshj.AndroidConfig
*/
public class CustomSshJConfig extends DefaultConfig
{
// This is where we different from the original AndroidConfig. Found it only work if we remove
// BouncyCastle before registering SpongyCastle's provider
// BouncyCastle bundled with Android before registering our BouncyCastle provider
public static void init() {
Security.removeProvider("BC");
Security.insertProviderAt(new org.bouncycastle.jce.provider.BouncyCastleProvider(),
Expand Down

0 comments on commit 44ac49e

Please sign in to comment.