Update src/ssl_load.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Koji Takeda
2025-04-12 10:01:17 +09:00
committed by GitHub
parent a3862f0e59
commit 85c71dacb1

View File

@ -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. */