Skip to content

Commit eedf9bf

Browse files
committed
Address code review comments.
1 parent 51763aa commit eedf9bf

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
@@ -2759,13 +2759,12 @@ The certificate is not yet valid: the notBefore date is after the current time.
27592759
<a id="CERT_HAS_EXPIRED"></a>
27602760
#### `CERT_HAS_EXPIRED`
27612761

2762-
The certificate has expired: that is the notAfter date is before the current
2763-
time.
2762+
The certificate has expired: the notAfter date is before the current time.
27642763

27652764
<a id="CRL_NOT_YET_VALID"></a>
27662765
#### `CRL_NOT_YET_VALID`
27672766

2768-
The revocation data have a future issue date.
2767+
The certificate revocation list (CRL) has a future issue date.
27692768

27702769
<a id="CRL_HAS_EXPIRED"></a>
27712770
#### `CRL_HAS_EXPIRED`
@@ -2807,7 +2806,7 @@ included in the trusted certificate list.
28072806
<a id="CERT_CHAIN_TOO_LONG"></a>
28082807
#### `CERT_CHAIN_TOO_LONG`
28092808

2810-
The certificate chain length is greater than the supplied maximum depth.
2809+
The certificate chain length is greater than the maximum depth.
28112810

28122811
<a id="UNABLE_TO_GET_CRL"></a>
28132812
#### `UNABLE_TO_GET_CRL`
@@ -2832,9 +2831,8 @@ purpose.
28322831
<a id="INVALID_CA"></a>
28332832
#### `INVALID_CA`
28342833

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

28392837
<a id="PATH_LENGTH_EXCEEDED"></a>
28402838
#### `PATH_LENGTH_EXCEEDED`

0 commit comments

Comments
 (0)