SSL_library_init.pod 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. =pod
  2. =head1 NAME
  3. SSL_library_init, OpenSSL_add_ssl_algorithms
  4. - initialize SSL library by registering algorithms
  5. =head1 SYNOPSIS
  6. #include <openssl/ssl.h>
  7. int SSL_library_init(void);
  8. int OpenSSL_add_ssl_algorithms(void);
  9. =head1 DESCRIPTION
  10. SSL_library_init() registers the available SSL/TLS ciphers and digests.
  11. OpenSSL_add_ssl_algorithms() is a synonym for SSL_library_init() and is
  12. implemented as a macro.
  13. =head1 NOTES
  14. SSL_library_init() must be called before any other action takes place.
  15. SSL_library_init() is not reentrant.
  16. =head1 WARNING
  17. SSL_library_init() adds ciphers and digests used directly and indirectly by
  18. SSL/TLS.
  19. =head1 RETURN VALUES
  20. SSL_library_init() always returns "1", so it is safe to discard the return
  21. value.
  22. =head1 SEE ALSO
  23. L<ssl(7)>,
  24. L<RAND_add(3)>
  25. =head1 HISTORY
  26. The SSL_library_init() and OpenSSL_add_ssl_algorithms() functions were
  27. deprecated in OpenSSL 1.1.0 by OPENSSL_init_ssl().
  28. =head1 COPYRIGHT
  29. Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
  30. Licensed under the Apache License 2.0 (the "License"). You may not use
  31. this file except in compliance with the License. You can obtain a copy
  32. in the file LICENSE in the source distribution or at
  33. L<https://www.openssl.org/source/license.html>.
  34. =cut