CONF_modules_free.pod 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. =pod
  2. =head1 NAME
  3. CONF_modules_free, CONF_modules_finish, CONF_modules_unload -
  4. OpenSSL configuration cleanup functions
  5. =head1 SYNOPSIS
  6. #include <openssl/conf.h>
  7. void CONF_modules_finish(void);
  8. void CONF_modules_unload(int all);
  9. Deprecated since OpenSSL 1.1.0, can be hidden entirely by defining
  10. B<OPENSSL_API_COMPAT> with a suitable version value, see
  11. L<openssl_user_macros(7)>:
  12. void CONF_modules_free(void)
  13. =head1 DESCRIPTION
  14. CONF_modules_free() closes down and frees up all memory allocated by all
  15. configuration modules. Normally, in versions of OpenSSL prior to 1.1.0,
  16. applications called
  17. CONF_modules_free() at exit to tidy up any configuration performed.
  18. CONF_modules_finish() calls each configuration modules B<finish> handler
  19. to free up any configuration that module may have performed.
  20. CONF_modules_unload() finishes and unloads configuration modules. If
  21. B<all> is set to B<0> only modules loaded from DSOs will be unloads. If
  22. B<all> is B<1> all modules, including builtin modules will be unloaded.
  23. =head1 RETURN VALUES
  24. None of the functions return a value.
  25. =head1 SEE ALSO
  26. L<config(5)>, L<OPENSSL_config(3)>,
  27. L<CONF_modules_load_file(3)>
  28. =head1 HISTORY
  29. CONF_modules_free() was deprecated in OpenSSL 1.1.0; do not use it.
  30. For more information see L<OPENSSL_init_crypto(3)>.
  31. =head1 COPYRIGHT
  32. Copyright 2004-2018 The OpenSSL Project Authors. All Rights Reserved.
  33. Licensed under the Apache License 2.0 (the "License"). You may not use
  34. this file except in compliance with the License. You can obtain a copy
  35. in the file LICENSE in the source distribution or at
  36. L<https://www.openssl.org/source/license.html>.
  37. =cut