@@ -15071,7 +15071,7 @@ static int DecodeCertInternal(DecodedCert* cert, int verify, int* criticalExt,
1507115071/* Assumes the target is a Raw-Public-Key certificate and parsed up to the
1507215072 * public key. Returns CRYPTOCB_UNAVAILABLE if it determines that the cert is
1507315073 * different from the Paw-Public-Key cert. In that case, cert->srcIdx is not
15074- * consumed so as successing parse function can take over.
15074+ * consumed so as succeeding parse function can take over.
1507515075 * In case that the target is Raw-Public-Key cert and contains a public key,
1507615076 * returns 0 and consumes cert->srcIdx so as a public key retrieval function
1507715077 * can follow.
@@ -20885,7 +20885,7 @@ static const ASNItem x509CertASN[] = {
2088520885 /* Version ::= INTEGER { v1(0), v2(1), v3(2) */
2088620886/* TBS_VER_INT */ { 3, ASN_INTEGER, 0, 0, 0 },
2088720887 /* serialNumber CertificateSerialNumber */
20888- /* CetificateSerialNumber ::= INTEGER */
20888+ /* CertificateSerialNumber ::= INTEGER */
2088920889/* TBS_SERIAL */ { 2, ASN_INTEGER, 0, 0, 0 },
2089020890 /* signature AlgorithmIdentifier */
2089120891 /* AlgorithmIdentifier ::= SEQUENCE */
@@ -37387,7 +37387,7 @@ int wc_ParseCertPIV(wc_CertPIV* piv, const byte* buf, word32 totalSz)
3738737387 GetASN_Int8Bit(&dataASN[PIVCERTASN_IDX_INFO], &info);
3738837388 /* Start parsing from start of buffer. */
3738937389 idx = 0;
37390- /* Parse PIV cetificate data. */
37390+ /* Parse PIV certificate data. */
3739137391 ret = GetASN_Items(pivCertASN, dataASN, pivCertASN_Length, 1, buf, &idx,
3739237392 totalSz);
3739337393 if (ret == 0) {
0 commit comments