diff --git a/src/ssl_load.c b/src/ssl_load.c index 72bf81719..de93d2ab1 100644 --- a/src/ssl_load.c +++ b/src/ssl_load.c @@ -1020,8 +1020,7 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl, } else if (*keyFormat == 0) { WOLFSSL_MSG("Not a Dilithium key"); - /* Unknowun format was not dilithium, so keep trying other formats. */ - ret = 0; + /* Unknown format was not dilithium, so keep trying other formats. */ } /* Free dynamically allocated data in key. */