[#PROFESSION_INFO_set0_registrationNumber]
= PROFESSION&lowbar;INFO&lowbar;set0&lowbar;registrationNumber
:mrdocs:

Set the registration number on a PROFESSION&lowbar;INFO, taking ownership of `rn&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;registrationNumber(
    xref:PROFESSION_INFO.adoc[PROFESSION&lowbar;INFO]* pi,
    xref:ASN1_PRINTABLESTRING.adoc[ASN1&lowbar;PRINTABLESTRING]* rn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pi*
| Profession info whose registrationNumber field is replaced&period;
| *rn*
| New registration number PrintableString, or NULL to clear&semi; frees any previous value&period;
|===


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