diff --git a/src/ssl_load.c b/src/ssl_load.c index 2cb0238e6..ee0e8f21b 100644 --- a/src/ssl_load.c +++ b/src/ssl_load.c @@ -1021,6 +1021,7 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl, else if (*keyFormat == 0) { WOLFSSL_MSG("Not a Dilithium key"); /* Unknown format wasn't dilithium, so keep trying other formats. */ + ret = 0; } /* Free dynamically allocated data in key. */