[#SSL_add_file_cert_subjects_to_stack]
= SSL&lowbar;add&lowbar;file&lowbar;cert&lowbar;subjects&lowbar;to&lowbar;stack
:mrdocs:

Append subject names from PEM certificates in a file to an existing stack&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;add&lowbar;file&lowbar;cert&lowbar;subjects&lowbar;to&lowbar;stack(
    xref:stack_st_X509_NAME.adoc[stack&lowbar;st&lowbar;X509&lowbar;NAME]* stackCAs,
    char const* file);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stackCAs*
| Stack of X509&lowbar;NAME subjects to append to&period;
| *file*
| Path to a PEM file of certificates&period;
|===


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