[#SSL_CTX_set_default_verify_store]
= SSL&lowbar;CTX&lowbar;set&lowbar;default&lowbar;verify&lowbar;store
:mrdocs:

Load the default trusted certificate store 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;set&lowbar;default&lowbar;verify&lowbar;store(xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose verification store is populated from system defaults&period;
|===


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