Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix nightly manual

This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.

NAME

SSL_get_SSL_CTX — get the SSL_CTX from which an SSL is created

SYNOPSIS

#include <openssl/ssl.h>
SSL_CTX *
SSL_get_SSL_CTX(const SSL *ssl);

DESCRIPTION

SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object from which ssl was created with SSL_new(3).

RETURN VALUES

The pointer to the SSL_CTX object is returned.

SEE ALSO

ssl(3), SSL_new(3)

HISTORY

SSL_get_SSL_CTX() first appeared in SSLeay 0.5.1 and has been available since OpenBSD 2.4.
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org