Fix a couple typos in asn.c

This commit is contained in:
John Safranek
2022-01-05 10:19:37 -08:00
parent 35847c1371
commit 66ade8006b

View File

@@ -15659,7 +15659,7 @@ static int DecodeExtKeyUsage(const byte* input, int sz, DecodedCert* cert)
word32 idx = 0, oid; word32 idx = 0, oid;
int length, ret; int length, ret;
WOLFSSL_MSG("DecodeExtKeyUsage"); WOLFSSL_ENTER("DecodeExtKeyUsage");
if (GetSequence(input, &idx, &length, sz) < 0) { if (GetSequence(input, &idx, &length, sz) < 0) {
WOLFSSL_MSG("\tfail: should be a SEQUENCE"); WOLFSSL_MSG("\tfail: should be a SEQUENCE");
@@ -15715,7 +15715,7 @@ static int DecodeExtKeyUsage(const byte* input, int sz, DecodedCert* cert)
int length; int length;
int ret = 0; int ret = 0;
WOLFSSL_MSG("DecodeExtKeyUsage"); WOLFSSL_ENTER("DecodeExtKeyUsage");
/* Strip SEQUENCE OF and expect to account for all the data. */ /* Strip SEQUENCE OF and expect to account for all the data. */
if (GetASN_Sequence(input, &idx, &length, sz, 1) < 0) { if (GetASN_Sequence(input, &idx, &length, sz, 1) < 0) {
@@ -16454,7 +16454,7 @@ exit:
* Inhibit anyPolicy - INHIBIT_ANY_OID * Inhibit anyPolicy - INHIBIT_ANY_OID
* Netscape Certificate Type - NETSCAPE_CT_OID (able to be excluded) * Netscape Certificate Type - NETSCAPE_CT_OID (able to be excluded)
* OCSP no check - OCSP_NOCHECK_OID (when compiling OCSP) * OCSP no check - OCSP_NOCHECK_OID (when compiling OCSP)
* Unsupported extensions from RFC 580: * Unsupported extensions from RFC 5280:
* 4.2.1.5 - Policy mappings * 4.2.1.5 - Policy mappings
* 4.2.1.7 - Issuer Alternative Name * 4.2.1.7 - Issuer Alternative Name
* 4.2.1.8 - Subject Directory Attributes * 4.2.1.8 - Subject Directory Attributes