Skip to content

Commit 770b6cb

Browse files
committed
Fix too long lines
1 parent 85c71da commit 770b6cb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/ssl_load.c

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

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

wolfcrypt/src/dilithium.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9664,7 +9664,8 @@ int wc_Dilithium_PrivateKeyDecode(const byte* input, word32* inOutIdx,
96649664

96659665
if (ret == 0) {
96669666
/* Get OID sum for level. */
9667-
if(key->level == 0) { /* Check first, because key->params will be NULL when key->level = 0 */
9667+
if(key->level == 0) { /* Check first, because key->params will be NULL
9668+
* when key->level = 0 */
96689669
/* Level not set by caller, decode from DER */
96699670
keytype = ANONk;
96709671
}

0 commit comments

Comments
 (0)