Fix some typos in comments. Change-Id: I1cf99586d72ee9c01e99ca6baa6479e5dd2aef5d Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/53787 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com> Auto-Submit: David Benjamin <davidben@google.com>
diff --git a/crypto/x509v3/v3_ncons.c b/crypto/x509v3/v3_ncons.c index 5505a62..f923e29 100644 --- a/crypto/x509v3/v3_ncons.c +++ b/crypto/x509v3/v3_ncons.c
@@ -478,7 +478,7 @@ } int base_has_at = CBS_get_until_first(&base_cbs, &base_local, '@'); - // Special case: inital '.' is RHS match + // Special case: initial '.' is RHS match if (!base_has_at && starts_with(&base_cbs, '.')) { if (has_suffix_case(&eml_cbs, &base_cbs)) { return X509_V_OK; @@ -541,7 +541,7 @@ return X509_V_ERR_UNSUPPORTED_NAME_SYNTAX; } - // Special case: inital '.' is RHS match + // Special case: initial '.' is RHS match if (starts_with(&base_cbs, '.')) { if (has_suffix_case(&host, &base_cbs)) { return X509_V_OK;