summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-px5g/src/library/x509write.c
diff options
context:
space:
mode:
authoryangfl <yangfl@users.noreply.github.com>2018-08-18 12:21:21 +0800
committeryangfl <yangfl@users.noreply.github.com>2018-10-10 15:00:07 +0800
commit401382a459743db941738a645822b443ecfdc596 (patch)
tree5d2a1197f1d6f647091523011b9900eaf2f535b0 /libs/luci-lib-px5g/src/library/x509write.c
parent24d1e7608b23cd80eca41a78916a2a0f2bd224c2 (diff)
treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'libs/luci-lib-px5g/src/library/x509write.c')
-rw-r--r--libs/luci-lib-px5g/src/library/x509write.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/luci-lib-px5g/src/library/x509write.c b/libs/luci-lib-px5g/src/library/x509write.c
index 173610c1a0..b9ebf35bae 100644
--- a/libs/luci-lib-px5g/src/library/x509write.c
+++ b/libs/luci-lib-px5g/src/library/x509write.c
@@ -19,7 +19,7 @@
* MA 02110-1301 USA
*/
/*
- * The ITU-T X.509 standard defines a certificat format for PKI.
+ * The ITU-T X.509 standard defines a certificate format for PKI.
*
* http://www.ietf.org/rfc/rfc2459.txt
* http://www.ietf.org/rfc/rfc3279.txt
@@ -68,7 +68,7 @@ static int asn1_eval_octet(unsigned int digit)
}
/*
- * write the asn.1 lenght form into p
+ * write the asn.1 length form into p
*/
static int asn1_add_len(unsigned int size, x509_node *node)
{
@@ -788,7 +788,7 @@ static int x509write_parse_names(x509_node *node, unsigned char *names)
R_len = len;
}
- /* set tag poiner to begin */
+ /* set tag pointer to begin */
tag_sp = tag;
/* is at end? */
@@ -866,7 +866,7 @@ static int x509write_parse_names(x509_node *node, unsigned char *names)
}
/*
- * Copy raw data from orginal ca to node
+ * Copy raw data from original ca to node
*/
static int x509write_copy_from_raw(x509_node *node, x509_buf *raw)
{