Skip to content

Commit

Permalink
doc: clarify CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED
Browse files Browse the repository at this point in the history
The error is not necessarily due to a client certificate engine. For
example, the `privateKeyEngine` option might just as well cause this
error and is independent of the client certificate.

Also mention that this is likely due to a compile-time option of OpenSSL
itself and not due to any particular engine.

PR-URL: #47976
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
tniessen authored and targos committed May 30, 2023
1 parent ac8dd61 commit 3b94a73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -861,8 +861,9 @@ size is reached when the context is created.

### `ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED`

A client certificate engine was requested that is not supported by the version
of OpenSSL being used.
An OpenSSL engine was requested (for example, through the `clientCertEngine` or
`privateKeyEngine` TLS options) that is not supported by the version of OpenSSL
being used, likely due to the compile-time flag `OPENSSL_NO_ENGINE`.

<a id="ERR_CRYPTO_ECDH_INVALID_FORMAT"></a>

Expand Down

0 comments on commit 3b94a73

Please sign in to comment.