[#OSSL_CRMF_MSG_set_certReqId]
= OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set&lowbar;certReqId
:mrdocs:

Set the certReqId field in a CRMF CertReqMsg&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set&lowbar;certReqId(
    xref:OSSL_CRMF_MSG.adoc[OSSL&lowbar;CRMF&lowbar;MSG]* crm,
    int rid);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *crm*
| CertReqMsg to update&period;
| *rid*
| Certificate request ID as a nonnegative integer&period;
|===


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