CONF_MODULES_FREE(3)

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

✨ NAME ✨

okay so bestie, this is the CONF_MODULES_FREE(3) page, and it's giving OpenSSL configuration cleanup realness. The main characters are:

  • CONF_modules_free
  • CONF_modules_finish
  • CONF_modules_unload

and together they're the OpenSSL configuration cleanup functions. πŸ’…

🌸 SYNOPSIS 🌸

This one's rocking the libcrypto library, and the include is literally:

#include <openssl/conf.h>

Then the function signatures, verbatim, no edits:

void
CONF_modules_free(void);

void
CONF_modules_finish(void);

void
CONF_modules_unload(int all);

πŸ¦‹ DESCRIPTION πŸ¦‹

CONF_modules_free

CONF_modules_free() closes down and frees up all memory allocated by all configuration modules. Like, full cleanup mode. Normally applications will only call this function at application exit to tidy up any configuration performed. So it's the "k, we're leaving, turn off the lights" function. 😭

CONF_modules_finish

CONF_modules_finish() calls the configuration finish handler of each configuration module to free up any configuration that module may have performed. It's giving "each module gets its own lil finish-handler moment." ✨

CONF_modules_unload

CONF_modules_unload() finishes and unloads configuration modules. If all is set to 1, the builtin modules will be unloaded as well. That's the whole tea. πŸ”₯

πŸŽ€ SEE ALSO πŸŽ€

πŸ‘‘ HISTORY πŸ‘‘

CONF_modules_free(), CONF_modules_finish(), and CONF_modules_unload() first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 3.2. iconic behavior, honestly. 🌈


πŸ’– this page is from Debian, dated June 8, 2025, and the footer vibe is literally CONF_MODULES_FREE(3) β€” mwah, bestie. 🫢

πŸ“¦ where this page comes from