[#CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE]
= CT&lowbar;POLICY&lowbar;EVAL&lowbar;CTX&lowbar;set&lowbar;shared&lowbar;CTLOG&lowbar;STORE
:mrdocs:

Set the shared CT log store used when evaluating SCTs&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
CT&lowbar;POLICY&lowbar;EVAL&lowbar;CTX&lowbar;set&lowbar;shared&lowbar;CTLOG&lowbar;STORE(
    xref:CT_POLICY_EVAL_CTX.adoc[CT&lowbar;POLICY&lowbar;EVAL&lowbar;CTX]* ctx,
    xref:CTLOG_STORE.adoc[CTLOG&lowbar;STORE]* log&lowbar;store);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Policy evaluation context to update&period;
| *log&lowbar;store*
| Log store that must outlive `ctx&period;`
|===


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