GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ERR_LOAD_CRYPTO_STRINGS(3) FreeBSD Library Functions Manual ERR_LOAD_CRYPTO_STRINGS(3)

ERR_load_crypto_strings, ERR_free_strings, SSL_load_error_stringsload and free OpenSSL error strings

#include <openssl/err.h>

void
ERR_load_crypto_strings(void);

void
ERR_free_strings(void);

#include <openssl/ssl.h>

void
SSL_load_error_strings(void);

These functions are deprecated. It is never useful for any application program to call any of them explicitly. The library automatically calls them internally whenever needed.

() registers the error strings for all crypto(3) functions. () does the same, but also registers the ssl(3) error strings.

If the error strings were already loaded before, no action occurs.

() frees all previously loaded error strings.

ERR(3), ERR_error_string(3), OPENSSL_config(3)

ERR_load_crypto_strings() and SSL_load_error_strings() first appeared in SSLeay 0.4.4. ERR_free_strings() first appeared in SSLeay 0.5.1. These functions been available since OpenBSD 2.4.

Even though the error strings are already compiled into the object code of the library as static strings, these functions store them again using dynamically allocated memory on the heap. That may fail if insufficient memory is available, but these functions do not report such errors. Instead, they fail silently, possibly having registered none or only a part of the strings requested.

March 5, 2024 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.