Allocate an SSL filter BIO using the given context.

Synopsis

Declared in <openssl/ssl.h>

BIO*
BIO_new_ssl(
    SSL_CTX* ctx,
    int client);

Return Value

New SSL BIO on success, or NULL on failure.

Parameters

Name

Description

ctx

SSL context used to create the internal SSL object.

client

Non‐zero for client mode; zero for server mode.

Created with MrDocs