CONF_modules_free.pod 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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:
  10. #if OPENSSL_API_COMPAT < 0x10100000L
  11. void CONF_modules_free(void)
  12. #endif
  13. =head1 DESCRIPTION
  14. CONF_modules_free() closes down and frees up all memory allocated by all
  15. configuration modules.
  16. CONF_modules_finish() calls each configuration modules B<finish> handler
  17. to free up any configuration that module may have performed.
  18. CONF_modules_unload() finishes and unloads configuration modules. If
  19. B<all> is set to B<0> only modules loaded from DSOs will be unloads. If
  20. B<all> is B<1> all modules, including builtin modules will be unloaded.
  21. =head1 NOTES
  22. Normally in versions of OpenSSL prior to 1.1.0 applications will only call
  23. CONF_modules_free() at application exit to tidy up any configuration performed.
  24. From 1.1.0 CONF_modules_free() is deprecated and no explicit CONF cleanup is
  25. required at all. For more information see L<OPENSSL_init_crypto(3)>.
  26. =head1 RETURN VALUE
  27. None of the functions return a value.
  28. =head1 SEE ALSO
  29. L<conf(5)>, L<OPENSSL_config(3)>,
  30. L<CONF_modules_load_file(3)>
  31. =head1 HISTORY
  32. CONF_modules_free() was deprecated in OpenSSL 1.1.0.
  33. =head1 COPYRIGHT
  34. Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
  35. Licensed under the OpenSSL license (the "License"). You may not use
  36. this file except in compliance with the License. You can obtain a copy
  37. in the file LICENSE in the source distribution or at
  38. L<https://www.openssl.org/source/license.html>.
  39. =cut