Skip to content

Commit

Permalink
Address code review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
j3lamp committed Jul 6, 2020
1 parent 6550c98 commit ff97f02
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2645,13 +2645,12 @@ The certificate is not yet valid: the notBefore date is after the current time.
<a id="CERT_HAS_EXPIRED"></a>
#### `CERT_HAS_EXPIRED`

The certificate has expired: that is the notAfter date is before the current
time.
The certificate has expired: the notAfter date is before the current time.

<a id="CRL_NOT_YET_VALID"></a>
#### `CRL_NOT_YET_VALID`

The revocation data have a future issue date.
The certificate revocation list (CRL) has a future issue date.

<a id="CRL_HAS_EXPIRED"></a>
#### `CRL_HAS_EXPIRED`
Expand Down Expand Up @@ -2693,7 +2692,7 @@ included in the trusted certificate list.
<a id="CERT_CHAIN_TOO_LONG"></a>
#### `CERT_CHAIN_TOO_LONG`

The certificate chain length is greater than the supplied maximum depth.
The certificate chain length is greater than the maximum depth.

<a id="UNABLE_TO_GET_CRL"></a>
#### `UNABLE_TO_GET_CRL`
Expand All @@ -2718,9 +2717,8 @@ purpose.
<a id="INVALID_CA"></a>
#### `INVALID_CA`

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

<a id="PATH_LENGTH_EXCEEDED"></a>
#### `PATH_LENGTH_EXCEEDED`
Expand Down

0 comments on commit ff97f02

Please sign in to comment.