[#SSL_CTX_set_srp_username] = SSL_CTX_set_srp_username :mrdocs: Set the default SRP username 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_username( xref:SSL_CTX.adoc[SSL_CTX]* ctx, char* name); ---- [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 username; call before creating the connection. | *name* | SRP username (at most 255 characters). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#