OPENSSL_load_builtin_modules.pod 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. =pod
  2. =head1 NAME
  3. OPENSSL_load_builtin_modules, ASN1_add_oid_module, ENGINE_add_conf_module - add standard configuration modules
  4. =head1 SYNOPSIS
  5. #include <openssl/conf.h>
  6. void OPENSSL_load_builtin_modules(void);
  7. void ASN1_add_oid_module(void);
  8. void ENGINE_add_conf_module(void);
  9. =head1 DESCRIPTION
  10. The function OPENSSL_load_builtin_modules() adds all the standard OpenSSL
  11. configuration modules to the internal list. They can then be used by the
  12. OpenSSL configuration code.
  13. ASN1_add_oid_module() adds just the ASN1 OBJECT module.
  14. ENGINE_add_conf_module() adds just the ENGINE configuration module.
  15. =head1 NOTES
  16. If the simple configuration function OPENSSL_config() is called then
  17. OPENSSL_load_builtin_modules() is called automatically.
  18. Applications which use the configuration functions directly will need to
  19. call OPENSSL_load_builtin_modules() themselves I<before> any other
  20. configuration code.
  21. Applications should call OPENSSL_load_builtin_modules() to load all
  22. configuration modules instead of adding modules selectively: otherwise
  23. functionality may be missing from the application if an when new
  24. modules are added.
  25. =head1 RETURN VALUES
  26. None of the functions return a value.
  27. =head1 SEE ALSO
  28. L<config(5)>, L<OPENSSL_config(3)>
  29. =head1 HISTORY
  30. ENGINE_add_conf_module() was deprecated in OpenSSL 3.0.
  31. =head1 COPYRIGHT
  32. Copyright 2004-2020 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