diff --git a/src/main/java/net/schmizz/sshj/common/SecurityUtils.java b/src/main/java/net/schmizz/sshj/common/SecurityUtils.java index 2492b256..4a800078 100644 --- a/src/main/java/net/schmizz/sshj/common/SecurityUtils.java +++ b/src/main/java/net/schmizz/sshj/common/SecurityUtils.java @@ -286,8 +286,8 @@ public class SecurityUtils { if (securityProvider == null && registerBouncyCastle == null) { LOG.info("BouncyCastle not registered, using the default JCE provider"); } else if (securityProvider == null) { - LOG.error("Failed to register BouncyCastle as the defaut JCE provider"); - throw new SSHRuntimeException("Failed to register BouncyCastle as the defaut JCE provider"); + LOG.error("Failed to register BouncyCastle as the default JCE provider"); + throw new SSHRuntimeException("Failed to register BouncyCastle as the default JCE provider"); } } registrationDone = true;