[#SSL_CTX_set_srp_password] = SSL_CTX_set_srp_password :mrdocs: Set the default SRP password for clients created from a context (deprecated). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int SSL_CTX_set_srp_password( xref:SSL_CTX.adoc[SSL_CTX]* ctx, char* password); ---- [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 stores the password; overrides SSL_CTX_set_srp_client_pwd_callback. | *password* | Password string used for SRP authentication. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#