ERR_load_crypto_strings.pod 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 since OpenSSL 1.1.0, can be hidden entirely by defining
  7. B<OPENSSL_API_COMPAT> with a suitable version value, see
  8. L<openssl_user_macros(7)>:
  9. #include <openssl/err.h>
  10. void ERR_load_crypto_strings(void);
  11. void ERR_free_strings(void);
  12. #include <openssl/ssl.h>
  13. void SSL_load_error_strings(void);
  14. =head1 DESCRIPTION
  15. ERR_load_crypto_strings() registers the error strings for all
  16. B<libcrypto> functions. SSL_load_error_strings() does the same,
  17. but also registers the B<libssl> error strings.
  18. In versions prior to OpenSSL 1.1.0,
  19. ERR_free_strings() releases any resources created by the above functions.
  20. =head1 RETURN VALUES
  21. ERR_load_crypto_strings(), SSL_load_error_strings() and
  22. ERR_free_strings() return no values.
  23. =head1 SEE ALSO
  24. L<ERR_error_string(3)>
  25. =head1 HISTORY
  26. The ERR_load_crypto_strings(), SSL_load_error_strings(), and
  27. ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
  28. OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.
  29. =head1 COPYRIGHT
  30. Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
  31. Licensed under the Apache License 2.0 (the "License"). You may not use
  32. this file except in compliance with the License. You can obtain a copy
  33. in the file LICENSE in the source distribution or at
  34. L<https://www.openssl.org/source/license.html>.
  35. =cut