forked from wolfSSL/wolfssl
Merge pull request #8687 from douzzer/20250417-fix-test_mldsa_pkcs8
20250417-fix-test_mldsa_pkcs8
This commit is contained in:
@@ -16748,6 +16748,9 @@ int test_mldsa_pkcs8(void)
|
|||||||
0);
|
0);
|
||||||
ExpectIntEQ(wc_dilithium_make_key(&mldsa_key, &rng), 0);
|
ExpectIntEQ(wc_dilithium_make_key(&mldsa_key, &rng), 0);
|
||||||
|
|
||||||
|
if (EXPECT_FAIL())
|
||||||
|
break;
|
||||||
|
|
||||||
keySz = 0;
|
keySz = 0;
|
||||||
temp[0] = 0x04; /* ASN.1 OCTET STRING */
|
temp[0] = 0x04; /* ASN.1 OCTET STRING */
|
||||||
temp[1] = 0x82; /* 2 bytes length field */
|
temp[1] = 0x82; /* 2 bytes length field */
|
||||||
|
Reference in New Issue
Block a user