MirOS Manual: ERR_free_strings(3), ERR_load_crypto_strings(3), SSL_load_error_strings(3)


ERR_LOAD_CRYPTO_STRINGS(3)   OpenSSL   ERR_LOAD_CRYPTO_STRINGS(3)

NAME

     ERR_load_crypto_strings, SSL_load_error_strings,
     ERR_free_strings - load and free error strings

SYNOPSIS

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

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.

     One of these functions should be called before generating
     textual error messages. However, this is not required when
     memory usage is an issue.

     ERR_free_strings() frees all previously loaded error
     strings.

RETURN VALUES

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

SEE ALSO

     err(3), ERR_error_string(3)

HISTORY

     ERR_load_error_strings(), SSL_load_error_strings() and
     ERR_free_strings() are available in all versions of SSLeay
     and OpenSSL.

MirOS BSD #10-current      2005-02-05                           1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.