Skip to content

Commit 8154bc6

Browse files
committed
Fix from review
1 parent f98634c commit 8154bc6

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
@@ -888,7 +888,7 @@ int test_x509_ReqCertFromX509_skid_overflow(void)
888888
defined(HAVE_ECC)
889889

890890
/* Minimal DER-encoded CSR (PKCS#10) containing a SubjectKeyIdentifier
891-
* extension with a 64-byte value double the 32-byte CTC_MAX_SKID_SIZE
891+
* extension with a 64-byte value -- double the 32-byte CTC_MAX_SKID_SIZE
892892
* destination buffer.
893893
*
894894
* Structure:
@@ -933,7 +933,7 @@ int test_x509_ReqCertFromX509_skid_overflow(void)
933933
0x0D, 0x01, 0x09, 0x0E, 0x31, 0x4D, 0x30, 0x4B,
934934
0x30, 0x49, 0x06, 0x03, 0x55, 0x1D, 0x0E, 0x04,
935935
0x42, 0x04, 0x40,
936-
/* 64 bytes of 0x41 oversized SKID value */
936+
/* 64 bytes of 0x41 -- oversized SKID value */
937937
0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
938938
0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
939939
0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
@@ -951,7 +951,7 @@ int test_x509_ReqCertFromX509_skid_overflow(void)
951951
WOLFSSL_X509* req = NULL;
952952
WOLFSSL_BIO* bio = NULL;
953953

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

0 commit comments

Comments
 (0)