Skip to content

Commit 85c71da

Browse files
kojiwsCopilot
andauthored
Update src/ssl_load.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a3862f0 commit 85c71da

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ssl_load.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,7 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
10201020
}
10211021
else if (*keyFormat == 0) {
10221022
WOLFSSL_MSG("Not a Dilithium key");
1023-
/* Unknowun format was not dilithium, so keep trying other formats. */
1024-
ret = 0;
1023+
/* Unknown format was not dilithium, so keep trying other formats. */
10251024
}
10261025

10271026
/* Free dynamically allocated data in key. */

0 commit comments

Comments
 (0)