mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-16 16:15:38 +02:00
added assersions before lib func invoking and adjust log level #4313
This commit is contained in:
parent
85813fd49b
commit
a53dae9be3
3 changed files with 58 additions and 11 deletions
|
@ -218,7 +218,7 @@ SecureSocket::secureAccept(int socket)
|
|||
SSL_set_fd(m_ssl->m_ssl, socket);
|
||||
|
||||
// do SSL-protocol accept
|
||||
LOG((CLOG_DEBUG "secureAccept"));
|
||||
LOG((CLOG_DEBUG1 "secureAccept"));
|
||||
int r = SSL_accept(m_ssl->m_ssl);
|
||||
bool retry = checkResult(r);
|
||||
|
||||
|
@ -241,9 +241,9 @@ SecureSocket::secureConnect(int socket)
|
|||
|
||||
// attach the socket descriptor
|
||||
SSL_set_fd(m_ssl->m_ssl, socket);
|
||||
LOG((CLOG_DEBUG "secureConnect"));
|
||||
int r = SSL_connect(m_ssl->m_ssl);
|
||||
|
||||
LOG((CLOG_DEBUG1 "secureConnect"));
|
||||
int r = SSL_connect(m_ssl->m_ssl);
|
||||
bool retry = checkResult(r);
|
||||
|
||||
//TODO: don't use this infinite loop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue