From cd6ab20e947a0bad468c9a57f09555f64ce81eef Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Fri, 12 Jun 2015 13:03:07 +0900 Subject: common: shut up some messages in ssl_tls_print_error SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE are not fatal error but just indicate SSL_read, SSL_write, SSL_accept functions to repeat. --- common/ssl_calls.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'common') diff --git a/common/ssl_calls.c b/common/ssl_calls.c index 8aa575df..7bc33fcb 100644 --- a/common/ssl_calls.c +++ b/common/ssl_calls.c @@ -562,11 +562,7 @@ ssl_tls_print_error(char *func, SSL *connection, int value) return 1; case SSL_ERROR_WANT_READ: - g_writeln("ssl_tls_print_error: SSL_ERROR_WANT_READ"); - return 0; - case SSL_ERROR_WANT_WRITE: - g_writeln("ssl_tls_print_error: SSL_ERROR_WANT_WRITE"); return 0; case SSL_ERROR_SYSCALL: -- cgit v1.2.1