SSL_GET_SSL_CTX(3)

πŸ“¦ version 4.4.0, in alpine 3.24, arch rolling

✨ NAME ✨

okay bestie, welcome to the SSL_GET_SSL_CTX(3) page from the Library Functions Manual ✨

SSL_get_SSL_CTX β€” get the SSL_CTX from which an SSL is created πŸ’…


🌸 SYNOPSIS 🌸

the synopsis is literally this exact little ritual:

library β€œlibssl” libcrypto #include <openssl/ssl.h>

SSL_CTX *
SSL_get_SSL_CTX(const SSL *ssl);

πŸ’– DESCRIPTION πŸ’–

so SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object β€” the one that ssl was created from with SSL_new(3). that's the whole lore, no cap 🫢


πŸŽ€ RETURN VALUES πŸŽ€

the pointer to the SSL_CTX object is returned. periodt πŸ’«


πŸ¦‹ SEE ALSO πŸ¦‹


🌈 HISTORY 🌈

SSL_get_SSL_CTX() first appeared in SSLeay 0.5.1 and has been available since OpenBSD 2.4. vintage behavior, honestly πŸ‘‘


this cutie was served up by Debian on June 8, 2025, and it's the SSL_GET_SSL_CTX(3) page β€” bye bestie, hydrate and read your man pages πŸ’–πŸŽ€

πŸ“¦ where this page comes from