[#SCT_set1_extensions]
= SCT&lowbar;set1&lowbar;extensions
:mrdocs:

Set the SCT extensions field by copying `ext&period;`

== Synopsis

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

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

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sct*
| SCT to update&period;
| *ext*
| Extension bytes to copy, or NULL when `ext&lowbar;len` is 0&period;
| *ext&lowbar;len*
| Length of `ext` in bytes&period;
|===


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