libtls: Some code style fixes

This commit is contained in:
Tobias Brunner
2021-02-12 11:45:44 +01:00
parent 4099035a0c
commit ba3c90ded1
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ METHOD(tls_protection_t, process, status_t,
return NEED_MORE;
}
if (this-> version < TLS_1_3 ||
if (this->version < TLS_1_3 ||
type == TLS_APPLICATION_DATA)
{
if (this->aead_in)
@@ -99,7 +99,7 @@ METHOD(tls_protection_t, build, status_t,
status = this->compression->build(this->compression, type, data);
if (status == NEED_MORE)
{
if (this-> version < TLS_1_3 && *type == TLS_CHANGE_CIPHER_SPEC)
if (*type == TLS_CHANGE_CIPHER_SPEC && this->version < TLS_1_3)
{
return status;
}