[#SSL_CTX_set_srp_strength] = SSL_CTX_set_srp_strength :mrdocs: Set the minimum acceptable SRP prime length in bits for a context (deprecated). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int SSL_CTX_set_srp_strength( xref:SSL_CTX.adoc[SSL_CTX]* ctx, int strength); ---- [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* | SSL context whose SRP strength is updated; default is 1024 when unset. | *strength* | Minimum SRP prime size in bits; server key exchange below this is rejected. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#