[#SCT_set1_log_id]
= SCT&lowbar;set1&lowbar;log&lowbar;id
:mrdocs:

Set the CT log ID on an SCT by copying `log&lowbar;id&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SCT&lowbar;set1&lowbar;log&lowbar;id(
    xref:SCT.adoc[SCT]* sct,
    unsigned char const* log&lowbar;id,
    size&lowbar;t log&lowbar;id&lowbar;len);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sct*
| SCT to update&period;
| *log&lowbar;id*
| Log ID bytes to copy&period;
| *log&lowbar;id&lowbar;len*
| Length of `log&lowbar;id` in bytes&period;
|===


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