Skip to content

Commit ff97f02

Browse files
committed
Address code review comments.
1 parent 6550c98 commit ff97f02

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

doc/api/errors.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2645,13 +2645,12 @@ The certificate is not yet valid: the notBefore date is after the current time.
26452645
<a id="CERT_HAS_EXPIRED"></a>
26462646
#### `CERT_HAS_EXPIRED`
26472647

2648-
The certificate has expired: that is the notAfter date is before the current
2649-
time.
2648+
The certificate has expired: the notAfter date is before the current time.
26502649

26512650
<a id="CRL_NOT_YET_VALID"></a>
26522651
#### `CRL_NOT_YET_VALID`
26532652

2654-
The revocation data have a future issue date.
2653+
The certificate revocation list (CRL) has a future issue date.
26552654

26562655
<a id="CRL_HAS_EXPIRED"></a>
26572656
#### `CRL_HAS_EXPIRED`
@@ -2693,7 +2692,7 @@ included in the trusted certificate list.
26932692
<a id="CERT_CHAIN_TOO_LONG"></a>
26942693
#### `CERT_CHAIN_TOO_LONG`
26952694

2696-
The certificate chain length is greater than the supplied maximum depth.
2695+
The certificate chain length is greater than the maximum depth.
26972696

26982697
<a id="UNABLE_TO_GET_CRL"></a>
26992698
#### `UNABLE_TO_GET_CRL`
@@ -2718,9 +2717,8 @@ purpose.
27182717
<a id="INVALID_CA"></a>
27192718
#### `INVALID_CA`
27202719

2721-
The certificate’s signer was not a CA. This may happen if this was a version 1
2722-
certificate, which is common with some CAs, or a version 3 certificate without
2723-
the basic constrains extension.
2720+
A CA certificate is invalid. Either it is not a CA or its extensions are not
2721+
consistent with the supplied purpose.
27242722

27252723
<a id="PATH_LENGTH_EXCEEDED"></a>
27262724
#### `PATH_LENGTH_EXCEEDED`

0 commit comments

Comments
 (0)