[#BIO_new_ssl]
= BIO&lowbar;new&lowbar;ssl
:mrdocs:

Allocate an SSL filter BIO using the given context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
BIO&lowbar;new&lowbar;ssl(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    int client);
----

== Return Value

New SSL BIO on success, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context used to create the internal SSL object&period;
| *client*
| Non&hyphen;zero for client mode&semi; zero for server mode&period;
|===


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