diff --git a/src/ssl_load.c b/src/ssl_load.c index de93d2ab1..2cb0238e6 100644 --- a/src/ssl_load.c +++ b/src/ssl_load.c @@ -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. */ diff --git a/wolfcrypt/src/dilithium.c b/wolfcrypt/src/dilithium.c index ec60e5156..c77f5676a 100644 --- a/wolfcrypt/src/dilithium.c +++ b/wolfcrypt/src/dilithium.c @@ -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; }