Fix too long lines

This commit is contained in:
Koji Takeda
2025-04-12 10:58:13 +09:00
parent 85c71dacb1
commit 770b6cb9e7
2 changed files with 3 additions and 2 deletions

View File

@@ -1020,7 +1020,7 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
}
else if (*keyFormat == 0) {
WOLFSSL_MSG("Not a Dilithium key");
/* Unknown format was not dilithium, so keep trying other formats. */
/* Unknown format wasn't dilithium, so keep trying other formats. */
}
/* Free dynamically allocated data in key. */

View File

@@ -9664,7 +9664,8 @@ int wc_Dilithium_PrivateKeyDecode(const byte* input, word32* inOutIdx,
if (ret == 0) {
/* Get OID sum for level. */
if(key->level == 0) { /* Check first, because key->params will be NULL when key->level = 0 */
if(key->level == 0) { /* Check first, because key->params will be NULL
* when key->level = 0 */
/* Level not set by caller, decode from DER */
keytype = ANONk;
}