SSL_LIBRARY_INIT(3)

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

🌸 NAME 🌸

okay so this is SSL_LIBRARY_INIT(3), a Library Functions Manual page, and the main characters are SSL_library_init, OpenSSL_add_ssl_algorithms, and SSLeay_add_ssl_algorithms β€” they initialize the SSL library by registering algorithms. πŸ’–


✨ SYNOPSIS ✨

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

int
SSL_library_init(void);

int
OpenSSL_add_ssl_algorithms(void);

int
SSLeay_add_ssl_algorithms(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie, vibe check first: these functions are deprecated. 🚩 It is never useful for any application program to call any of them explicitly β€” the library automatically calls them internally whenever needed. so literally let it do its thing, no cap. πŸ’…

SSL_library_init() registers the available ciphers and digests which are used directly or indirectly by TLS. ✨

OpenSSL_add_ssl_algorithms() and SSLeay_add_ssl_algorithms() are synonyms for SSL_library_init() and are implemented as macros. 🫢


πŸŽ€ RETURN VALUES πŸŽ€

SSL_library_init() always returns 1. that's it, iconic, zero drama. πŸ‘‘


🌈 SEE ALSO 🌈

  • ssl(3) β€” go peek if you wanna keep vibing. πŸ¦‹

🧚 HISTORY 🧚

  • SSLeay_add_ssl_algorithms() first appeared in SSLeay 0.8.0 and has been available since OpenBSD 2.4. πŸ•°οΈ
  • SSL_library_init() first appeared in OpenSSL 0.9.2b and has been available since OpenBSD 2.6. ⭐
  • OpenSSL_add_ssl_algorithms() first appeared in OpenSSL 0.9.5 and has been available since OpenBSD 2.7. πŸ’œ

πŸ’Œ this page is from Debian, dated June 8, 2025, and it's SSL_LIBRARY_INIT(3) β€” mwah, bye bestie! πŸ’‹

πŸ“¦ where this page comes from