logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings - load and free error strings

Description

ERR_load_crypto_strings() registers the error strings for all libcrypto functions.
       SSL_load_error_strings() does the same, but also registers the libssl error strings.

       In versions prior to OpenSSL 1.1.0, ERR_free_strings() releases any resources created by the above
       functions.

History

       The ERR_load_crypto_strings(), SSL_load_error_strings(), and ERR_free_strings() functions were deprecated
       in OpenSSL 1.1.0 by OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.

Name

       ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings - load and free error strings

Return Values

ERR_load_crypto_strings(), SSL_load_error_strings() and ERR_free_strings() return no values.

See Also

ERR_error_string(3)

Synopsis

       The following functions have been deprecated since OpenSSL 1.1.0, and can be hidden entirely by defining
       OPENSSL_API_COMPAT with a suitable version value, see openssl_user_macros(7):

        #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);

See Also