ERR_load_crypto_strings.pod 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. =pod
  2. =head1 NAME
  3. ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
  4. load and free error strings
  5. =head1 SYNOPSIS
  6. Deprecated:
  7. #include <openssl/err.h>
  8. #if OPENSSL_API_COMPAT < 0x10100000L
  9. void ERR_load_crypto_strings(void);
  10. void ERR_free_strings(void);
  11. #endif
  12. #include <openssl/ssl.h>
  13. #if OPENSSL_API_COMPAT < 0x10100000L
  14. void SSL_load_error_strings(void);
  15. #endif
  16. =head1 DESCRIPTION
  17. All of the following functions are deprecated from OpenSSL 1.1.0. No explicit
  18. initialisation or de-initialisation is necessary. See L<OPENSSL_init_crypto(3)>
  19. and L<OPENSSL_init_ssl(3)>.
  20. ERR_load_crypto_strings() registers the error strings for all
  21. B<libcrypto> functions. SSL_load_error_strings() does the same,
  22. but also registers the B<libssl> error strings.
  23. In versions of OpenSSL prior to 1.1.0 ERR_free_strings() freed all previously
  24. loaded error strings. However from OpenSSL 1.1.0 it does nothing.
  25. =head1 RETURN VALUES
  26. ERR_load_crypto_strings(), SSL_load_error_strings() and
  27. ERR_free_strings() return no values.
  28. =head1 SEE ALSO
  29. L<ERR_error_string(3)>
  30. =head1 HISTORY
  31. The ERR_load_crypto_strings(), SSL_load_error_strings(), and
  32. ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
  33. OPENSSL_init_crypto() and OPENSSL_init_ssl().
  34. =head1 COPYRIGHT
  35. Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
  36. Licensed under the OpenSSL license (the "License"). You may not use
  37. this file except in compliance with the License. You can obtain a copy
  38. in the file LICENSE in the source distribution or at
  39. L<https://www.openssl.org/source/license.html>.
  40. =cut