forked from wolfSSL/wolfssl
Fix too long lines
This commit is contained in:
@@ -1020,7 +1020,7 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
|
|||||||
}
|
}
|
||||||
else if (*keyFormat == 0) {
|
else if (*keyFormat == 0) {
|
||||||
WOLFSSL_MSG("Not a Dilithium key");
|
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. */
|
/* Free dynamically allocated data in key. */
|
||||||
|
@@ -9664,7 +9664,8 @@ int wc_Dilithium_PrivateKeyDecode(const byte* input, word32* inOutIdx,
|
|||||||
|
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
/* Get OID sum for level. */
|
/* 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 */
|
/* Level not set by caller, decode from DER */
|
||||||
keytype = ANONk;
|
keytype = ANONk;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user