[#SSL_CTX_set_srp_client_pwd_callback] = SSL_CTX_set_srp_client_pwd_callback :mrdocs: Set a client callback that supplies the SRP password (deprecated). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int SSL_CTX_set_srp_client_pwd_callback( xref:SSL_CTX.adoc[SSL_CTX]* ctx, char*(* cb)(xref:SSL.adoc[SSL]*, void*)); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or a non‐positive value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Client SSL context that invokes `cb` during SRP authentication. | *cb* | Callback returning a password for the given SSL and user argument from SSL_CTX_set_srp_cb_arg. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#