tls/openssl: fixed indentation
This commit is contained in:
@@ -86,7 +86,6 @@ void tls_free(tls_t *tls)
|
|||||||
SSL_free(tls->ssl);
|
SSL_free(tls->ssl);
|
||||||
SSL_CTX_free(tls->ssl_ctx);
|
SSL_CTX_free(tls->ssl_ctx);
|
||||||
xmpp_free(tls->ctx, tls);
|
xmpp_free(tls->ctx, tls);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int tls_set_credentials(tls_t *tls, const char *cafilename)
|
int tls_set_credentials(tls_t *tls, const char *cafilename)
|
||||||
@@ -161,7 +160,6 @@ int tls_read(tls_t *tls, void * const buff, const size_t len)
|
|||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
tls->lasterror = SSL_get_error(tls->ssl, ret);
|
tls->lasterror = SSL_get_error(tls->ssl, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -172,7 +170,6 @@ int tls_write(tls_t *tls, const void * const buff, const size_t len)
|
|||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
tls->lasterror = SSL_get_error(tls->ssl, ret);
|
tls->lasterror = SSL_get_error(tls->ssl, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user