![]() WolfSSL_ERR_print_errors_fp (XFILE fp, int err) The human-readable string is placed in buf. Like wolfSSL_ERR_error_string(), this function converts an error code returned from wolfSSL_get_error() into a more human-readable error string. This function is a version of wolfSSL_ERR_error_string() where len specifies the maximum number of characters that may be written to buf. WolfSSL_ERR_error_string_n (unsigned long e, char *buf, unsigned long sz) The maximum length of data is 80 characters by default, as defined by MAX_ERROR_SZ is wolfssl/wolfcrypt/error.h. errNumber is the error code returned by wolfSSL_get_error() and data is the storage buffer which the error string will be placed in. This function converts an error code returned by wolfSSL_get_error() into a more human-readable error string. WolfSSL_ERR_error_string (unsigned long errNumber, char *data) This function is for OpenSSL compatibility (SSL_load_error_string) only and takes no action. See wolfSSL_ERR_error_string() for more information. After wolfSSL_get_error is called and returns the unique error code, wolfSSL_ERR_error_string() may be called to get a human-readable error string. The return value of the previous function is passed to wolfSSL_get_error through ret. This function returns a unique error code describing why the previous API function call (wolfSSL_connect, wolfSSL_accept, wolfSSL_read, wolfSSL_write, etc.) resulted in an error return code (SSL_FAILURE). WolfSSL_get_error (WOLFSSL *ssl, int ret) If they’re already off, no action is taken. This function turns off runtime logging messages. To enable logging at build time use –enable-debug or define DEBUG_WOLFSSL. If logging has been enabled at build time this function turns on logging at runtime.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |