[#CT_POLICY_EVAL_CTX_set1_issuer]
= CT&lowbar;POLICY&lowbar;EVAL&lowbar;CTX&lowbar;set1&lowbar;issuer
:mrdocs:

Set the issuer certificate used when validating precertificate SCTs&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CT&lowbar;POLICY&lowbar;EVAL&lowbar;CTX&lowbar;set1&lowbar;issuer(
    xref:CT_POLICY_EVAL_CTX.adoc[CT&lowbar;POLICY&lowbar;EVAL&lowbar;CTX]* ctx,
    xref:X509.adoc[X509]* issuer);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Policy evaluation context to update&period;
| *issuer*
| Issuer certificate&semi; a reference is taken (caller retains ownership)&period;
|===


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