[#OSSL_CRMF_MSG_set1_regCtrl_pkiPublicationInfo]
= OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set1&lowbar;regCtrl&lowbar;pkiPublicationInfo
:mrdocs:

Set the pkiPublicationInfo regCtrl 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;set1&lowbar;regCtrl&lowbar;pkiPublicationInfo(
    xref:OSSL_CRMF_MSG.adoc[OSSL&lowbar;CRMF&lowbar;MSG]* msg,
    xref:OSSL_CRMF_PKIPUBLICATIONINFO.adoc[OSSL&lowbar;CRMF&lowbar;PKIPUBLICATIONINFO] const* pi);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *msg*
| CertReqMsg to update&period;
| *pi*
| PKIPublicationInfo value to copy&semi; see RFC 4211 section 6&period;3&period;
|===


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