[#ENGINE_set_load_ssl_client_cert_function]
= ENGINE&lowbar;set&lowbar;load&lowbar;ssl&lowbar;client&lowbar;cert&lowbar;function
:mrdocs:

Set the callback that loads an SSL&sol;TLS client certificate and key from an ENGINE (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
ENGINE&lowbar;set&lowbar;load&lowbar;ssl&lowbar;client&lowbar;cert&lowbar;function(
    xref:ENGINE.adoc[ENGINE]* e,
    xref:ENGINE_SSL_CLIENT_CERT_PTR.adoc[ENGINE&lowbar;SSL&lowbar;CLIENT&lowbar;CERT&lowbar;PTR] loadssl&lowbar;f);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE whose SSL client&hyphen;cert loader is replaced&period;
| *loadssl&lowbar;f*
| Loader callback invoked during client certificate selection, or NULL to clear&period;
|===


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