[#CMS_unsigned_delete_attr]
= CMS&lowbar;unsigned&lowbar;delete&lowbar;attr
:mrdocs:

Remove and return the unsigned attribute at an index in a CMS SignerInfo&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:X509_ATTRIBUTE.adoc[X509&lowbar;ATTRIBUTE]*
CMS&lowbar;unsigned&lowbar;delete&lowbar;attr(
    xref:CMS_SignerInfo.adoc[CMS&lowbar;SignerInfo]* si,
    int loc);
----

== Return Value

Removed X509&lowbar;ATTRIBUTE (caller owns it), or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo whose unsignedAttrs are modified&period;
| *loc*
| Zero&hyphen;based index of the attribute to remove&period;
|===


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