[#SSL_CTX_set_cert_cb] = SSL_CTX_set_cert_cb :mrdocs: Install a certificate‐selection callback invoked during handshake certificate setup. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_CTX_set_cert_cb( xref:SSL_CTX.adoc[SSL_CTX]* c, int(* cb)(xref:SSL.adoc[SSL]*, void*), void* arg); ---- == Parameters [cols="1,4"] |=== | Name| Description | *c* | SSL_CTX that owns the callback. | *cb* | Callback that should install certs/keys on `ssl` and return 1 on success, 0 to defer, or <0 on error. | *arg* | Opaque pointer passed to `cb.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#