2
0

ERR_load_crypto_strings.pod 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #include <openssl/err.h>
  7. void ERR_load_crypto_strings(void);
  8. void ERR_free_strings(void);
  9. #include <openssl/ssl.h>
  10. void SSL_load_error_strings(void);
  11. =head1 DESCRIPTION
  12. ERR_load_crypto_strings() registers the error strings for all
  13. B<libcrypto> functions. SSL_load_error_strings() does the same,
  14. but also registers the B<libssl> error strings.
  15. One of these functions should be called before generating
  16. textual error messages. However, this is not required when memory
  17. usage is an issue.
  18. ERR_free_strings() frees all previously loaded error strings.
  19. =head1 RETURN VALUES
  20. ERR_load_crypto_strings(), SSL_load_error_strings() and
  21. ERR_free_strings() return no values.
  22. =head1 SEE ALSO
  23. L<err(3)|err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>
  24. =head1 HISTORY
  25. ERR_load_error_strings(), SSL_load_error_strings() and
  26. ERR_free_strings() are available in all versions of SSLeay and
  27. OpenSSL.
  28. =cut