Skip to content

Commit 068b4a2

Browse files
committed
Fix from review
1 parent 6a7271b commit 068b4a2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/api/test_x509.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ int test_x509_ReqCertFromX509_skid_overflow(void)
891891
defined(HAVE_ECC)
892892

893893
/* Minimal DER-encoded CSR (PKCS#10) containing a SubjectKeyIdentifier
894-
* extension with a 64-byte value double the 32-byte CTC_MAX_SKID_SIZE
894+
* extension with a 64-byte value -- double the 32-byte CTC_MAX_SKID_SIZE
895895
* destination buffer.
896896
*
897897
* Structure:
@@ -936,7 +936,7 @@ int test_x509_ReqCertFromX509_skid_overflow(void)
936936
0x0D, 0x01, 0x09, 0x0E, 0x31, 0x4D, 0x30, 0x4B,
937937
0x30, 0x49, 0x06, 0x03, 0x55, 0x1D, 0x0E, 0x04,
938938
0x42, 0x04, 0x40,
939-
/* 64 bytes of 0x41 oversized SKID value */
939+
/* 64 bytes of 0x41 -- oversized SKID value */
940940
0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
941941
0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
942942
0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
@@ -954,7 +954,7 @@ int test_x509_ReqCertFromX509_skid_overflow(void)
954954
WOLFSSL_X509* req = NULL;
955955
WOLFSSL_BIO* bio = NULL;
956956

957-
/* Step 1: Parse the crafted CSR this should succeed (the parser
957+
/* Step 1: Parse the crafted CSR -- this should succeed (the parser
958958
* dynamically allocates subjKeyId to the parsed size). */
959959
req = wolfSSL_X509_REQ_d2i(NULL, crafted_csr_der,
960960
(int)sizeof(crafted_csr_der));

0 commit comments

Comments
 (0)