From 4fe605289b9c7206a9f27ff7efe578a9d529707a Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Wed, 19 Mar 2025 09:19:26 +0100 Subject: [PATCH] Fix typo "default" (#997) Co-authored-by: Jeroen van Erp --- src/main/java/net/schmizz/sshj/common/SecurityUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;