CONF_MODULES_FREE(3ossl)
π CONF_MODULES_FREE π
okay so bestie, this is the OpenSSL configuration cleanup page β the one about tidying up your config modules before you dip. it lives in the 3ossl manual, and honestly? it's giving "who's gonna clean up after the party" energy and I'm obsessed π
β¨ NAME β¨
CONF_modules_free, CONF_modules_finish, CONF_modules_unload β the OpenSSL configuration cleanup functions, aka the cleanup crew for your config modules π§Ήβ¨
πΈ SYNOPSIS πΈ
#include <openssl/conf.h>
void CONF_modules_finish(void);
void CONF_modules_unload(int all);
and then the deprecated one (we'll get to that, don't worry π) β the following functions have been deprecated since OpenSSL 1.1.0, and can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable version value, see openssl_user_macros(7):
void CONF_modules_free(void);
π DESCRIPTION π
CONF_modules_free()β closes down and frees up all memory allocated by all configuration modules. like, everything. Normally, in versions of OpenSSL prior to 1.1.0, applications calledCONF_modules_free()at exit to tidy up any configuration performed. cute, but also: deprecated, we'll yell about that in a sec π«ΆCONF_modules_finish()β calls each configuration module's finish handler to free up any configuration that module may have performed. it's literally just telling every module "hey bestie, wrap it up" πCONF_modules_unload()β finishes and unloads configuration modules. Ifallis set to0, only modules loaded from DSOs will be unloaded. Ifallis1, all modules β including built-in modules β will be unloaded. iykyk π
π RETURN VALUES π
None of the functions return a value. like, nothing. zero. void. they do the thing and that's it, no receipt, no follow-up text, nothing πβ¨
π¦ SEE ALSO π¦
go read those too, they're iconic in their own right π
π₯ HISTORY π₯
CONF_modules_free() was deprecated in OpenSSL 1.1.0; do not use it. For more information see OPENSSL_init_crypto(3).
fr fr bestie, don't useCONF_modules_free(). it's deprecated, it's old news, it's not the main character anymore π use the init functions instead,OPENSSL_init_crypto(3)will tell you everything π
π COPYRIGHT π
Copyright 2004-2020 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
okay that's the whole page, and this lil sign-off is brought to you by OpenSSL 3.5.0, dated 2026-09-25 β the CONF_MODULES_FREE(3ossl) manual, slaying since forever ππ·β¨
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms