[#SCT_set_source]
= SCT&lowbar;set&lowbar;source
:mrdocs:

Record where an SCT was obtained (TLS extension, OCSP, X&period;509 extension, etc&period;)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SCT&lowbar;set&lowbar;source(
    xref:SCT.adoc[SCT]* sct,
    sct&lowbar;source&lowbar;t source);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sct*
| SCT to update&period;
| *source*
| Origin tag from sct&lowbar;source&lowbar;t&period;
|===


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