[#OSSL_CMP_MSG_update_transactionID]
= OSSL&lowbar;CMP&lowbar;MSG&lowbar;update&lowbar;transactionID
:mrdocs:

Copy the context transactionID into a CMP message header&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CMP&lowbar;MSG&lowbar;update&lowbar;transactionID(
    xref:OSSL_CMP_CTX.adoc[OSSL&lowbar;CMP&lowbar;CTX]* ctx,
    xref:OSSL_CMP_MSG.adoc[OSSL&lowbar;CMP&lowbar;MSG]* msg);
----

== Return Value

1 on success, 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| CMP context supplying the transactionID&period;
| *msg*
| Outgoing CMP message whose header is updated&period;
|===


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