[#SCT_set_version]
= SCT&lowbar;set&lowbar;version
:mrdocs:

Set the Certificate Transparency version of an SCT&period;

== Synopsis

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

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

== Return Value

1 if `version` is supported, or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sct*
| SCT to update&period;
| *version*
| SCT version to set&semi; only SCT&lowbar;VERSION&lowbar;V1 is currently supported&period;
|===


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