diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2017-12-12 13:35:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 13:35:34 +0100 |
commit | d5df834b89f1f05f88fc1a3aee21f7a011a76134 (patch) | |
tree | 6db4ec444377e4a19a3c94d1a52470fc8e2fa2a0 | |
parent | 55962ce28fec5f06016ed3f66f52e6e84b817dbe (diff) |
stream_peer_openssl: add missing break & format
-rw-r--r-- | modules/openssl/stream_peer_openssl.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/openssl/stream_peer_openssl.cpp b/modules/openssl/stream_peer_openssl.cpp index 6d1d5485f3..7e8b308cf8 100644 --- a/modules/openssl/stream_peer_openssl.cpp +++ b/modules/openssl/stream_peer_openssl.cpp @@ -412,8 +412,12 @@ void StreamPeerOpenSSL::_print_error(int err) { err = SSL_get_error(ssl, err); switch (err) { - case SSL_ERROR_NONE: ERR_PRINT("NO ERROR: The TLS/SSL I/O operation completed"); break; - case SSL_ERROR_ZERO_RETURN: ERR_PRINT("The TLS/SSL connection has been closed."); + case SSL_ERROR_NONE: + ERR_PRINT("NO ERROR: The TLS/SSL I/O operation completed"); + break; + case SSL_ERROR_ZERO_RETURN: + ERR_PRINT("The TLS/SSL connection has been closed."); + break; case SSL_ERROR_WANT_READ: case SSL_ERROR_WANT_WRITE: ERR_PRINT("The operation did not complete."); |