[#SSL_CTX_set1_param]
= SSL&lowbar;CTX&lowbar;set1&lowbar;param
:mrdocs:

Copy verification parameters into an SSL context&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;CTX&lowbar;set1&lowbar;param(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    xref:X509_VERIFY_PARAM.adoc[X509&lowbar;VERIFY&lowbar;PARAM]* vpm);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose X509&lowbar;VERIFY&lowbar;PARAM is updated&period;
| *vpm*
| Source parameters that are duplicated into `ctx&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
