[#CMS_add1_ReceiptRequest]
= CMS&lowbar;add1&lowbar;ReceiptRequest
:mrdocs:

Add a CMS signed receipt request to a SignerInfo&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;add1&lowbar;ReceiptRequest(
    xref:CMS_SignerInfo.adoc[CMS&lowbar;SignerInfo]* si,
    xref:CMS_ReceiptRequest.adoc[CMS&lowbar;ReceiptRequest]* rr);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo that receives the receipt request attribute&period;
| *rr*
| Receipt request to add (caller retains ownership of `rr)&period;`
|===


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