* functions return 1 on success and 0 on failure.</p>

<p>SSL_set_srp_server_param() returns 1 on success and -1 on failure.</p>

<p>The SSL_get_SRP_* functions return a pointer to the requested data, the memory is owned by the library and should not be freed by the caller.</p>

<h1 id="EXAMPLES">EXAMPLES</h1>

<p>Setup SRP parameters on the client:</p>

<pre><code> #include &lt;openssl/ssl.h&gt;

 const char *username = &quot;username&quot;;
 const char *password = &quot;password&quot;;

 SSL_CTX *ctx = SS