From 29482a3e4d17649c0b66e7c081d2ae05df6979b8 Mon Sep 17 00:00:00 2001 From: Koji Takeda Date: Sat, 12 Apr 2025 13:12:36 +0900 Subject: [PATCH] Fix a logic --- src/ssl_load.c | 1 + 1 file changed, 1 insertion(+) 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. */