[#OSSL_CRMF_MSG_set1_regInfo_certReq]
= OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set1&lowbar;regInfo&lowbar;certReq
:mrdocs:

Add a copy of a certReq regInfo value to 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;set1&lowbar;regInfo&lowbar;certReq(
    xref:OSSL_CRMF_MSG.adoc[OSSL&lowbar;CRMF&lowbar;MSG]* msg,
    xref:OSSL_CRMF_CERTREQUEST.adoc[OSSL&lowbar;CRMF&lowbar;CERTREQUEST] const* cr);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *msg*
| CertReqMsg to update&period;
| *cr*
| CertRequest value to copy&semi; see RFC 4211 section 7&period;2&period;
|===


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