From fd72bf17ce7096afcf55f3dc2bc396a8931b42fd Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 26 May 2015 14:17:30 +0100 Subject: [PATCH] Reworded SSL errors to be more consistent #4650 --- src/lib/plugin/ns/SecureSocket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/plugin/ns/SecureSocket.cpp b/src/lib/plugin/ns/SecureSocket.cpp index 04117742..9d1c10f5 100644 --- a/src/lib/plugin/ns/SecureSocket.cpp +++ b/src/lib/plugin/ns/SecureSocket.cpp @@ -412,7 +412,7 @@ SecureSocket::checkResult(int status, int& retry) break; case SSL_ERROR_SYSCALL: - LOG((CLOG_ERR "ssl error occurred")); + LOG((CLOG_ERR "ssl error occurred (system call failure)")); if (ERR_peek_error() == 0) { if (status == 0) { LOG((CLOG_ERR "eof violates ssl protocol")); @@ -432,12 +432,12 @@ SecureSocket::checkResult(int status, int& retry) break; case SSL_ERROR_SSL: - LOG((CLOG_ERR "generic ssl error")); + LOG((CLOG_ERR "ssl error occurred (generic failure)")); isFatal(true); break; default: - LOG((CLOG_ERR "unknown ssl error")); + LOG((CLOG_ERR "ssl error occurred (unknown failure)")); isFatal(true); break; }