[#SSL_CTX_set_client_cert_engine]
= SSL&lowbar;CTX&lowbar;set&lowbar;client&lowbar;cert&lowbar;engine
:mrdocs:

Set an ENGINE used to obtain a client certificate when a server requests one&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;CTX&lowbar;set&lowbar;client&lowbar;cert&lowbar;engine(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    xref:ENGINE.adoc[ENGINE]* e);
----

== Return Value

1 on success, or 0 if `e` cannot be initialized or has no client&hyphen;cert method&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context that will use `e` for client&hyphen;certificate selection&period;
| *e*
| ENGINE that implements a client&hyphen;certificate load function (initialized by this call)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
