[#PROFESSION_INFO_set0_addProfessionInfo]
= PROFESSION&lowbar;INFO&lowbar;set0&lowbar;addProfessionInfo
:mrdocs:

Set the additionalProfessionInfo OCTET STRING on a PROFESSION&lowbar;INFO, taking ownership of `aos&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PROFESSION&lowbar;INFO&lowbar;set0&lowbar;addProfessionInfo(
    xref:PROFESSION_INFO.adoc[PROFESSION&lowbar;INFO]* pi,
    xref:ASN1_OCTET_STRING.adoc[ASN1&lowbar;OCTET&lowbar;STRING]* aos);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pi*
| Profession info whose addProfessionInfo field is replaced&period;
| *aos*
| OCTET STRING to adopt, or NULL to clear the field&period;
|===


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