summaryrefslogtreecommitdiff
path: root/lib/crypto/x509_cert_parser.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2024-04-16 08:55:19 +0200
committerTom Rini <trini@konsulko.com>2024-04-22 11:01:48 -0600
commit81f3a665ab2a63a31ec7a4d760b0ce8130f62a1d (patch)
treeea17474c16b46c0710b48b1cf875bc608e9c7f9d /lib/crypto/x509_cert_parser.c
parent5a6cf7c5d54769d2500e796702f6d210907ea7e4 (diff)
common: Convert *.c/h from UTF-8 to ASCII enconfing
Convert UTF-8 chars to ASCII in cases where make sense. No Copyright or names are converted. Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Marek Behún <kabel@kernel.org>
Diffstat (limited to 'lib/crypto/x509_cert_parser.c')
-rw-r--r--lib/crypto/x509_cert_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/x509_cert_parser.c b/lib/crypto/x509_cert_parser.c
index a0f0689118f..34de75a3ece 100644
--- a/lib/crypto/x509_cert_parser.c
+++ b/lib/crypto/x509_cert_parser.c
@@ -535,7 +535,7 @@ int x509_process_extension(void *context, size_t hdrlen,
* Decode an ASN.1 universal time or generalised time field into a struct the
* kernel can handle and check it for validity. The time is decoded thus:
*
- * [RFC5280 §4.1.2.5]
+ * [RFC5280 paragraph 74.1.2.5]
* CAs conforming to this profile MUST always encode certificate validity
* dates through the year 2049 as UTCTime; certificate validity dates in
* 2050 or later MUST be encoded as GeneralizedTime. Conforming