Skip to content

Commit 2b6ddf0

Browse files
author
Mika Leppänen
committed
Corrected traces and coverity error
1 parent b0b804d commit 2b6ddf0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/Security/protocols/eap_tls_sec_prot/auth_eap_tls_sec_prot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static void auth_eap_tls_sec_prot_tls_finished_indication(sec_prot_t *tls_prot,
272272

273273
if (result == SEC_RESULT_OK) {
274274
data->tls_result = EAP_TLS_RESULT_HANDSHAKE_OVER;
275-
tr_error("EAP-TLS: handshake success");
275+
tr_info("EAP-TLS: handshake success");
276276
} else if (result == SEC_RESULT_CONF_ERROR) {
277277
data->tls_result = EAP_TLS_RESULT_HANDSHAKE_FATAL_ERROR;
278278
tr_error("EAP-TLS: handshake fatal error");

source/Security/protocols/eap_tls_sec_prot/supp_eap_tls_sec_prot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static void supp_eap_tls_sec_prot_tls_finished_indication(sec_prot_t *tls_prot,
281281

282282
if (result == SEC_RESULT_OK) {
283283
data->tls_result = EAP_TLS_RESULT_HANDSHAKE_OVER;
284-
tr_error("EAP-TLS: handshake success");
284+
tr_info("EAP-TLS: handshake success");
285285
} else if (result == SEC_RESULT_CONF_ERROR) {
286286
data->tls_result = EAP_TLS_RESULT_HANDSHAKE_FATAL_ERROR;
287287
tr_error("EAP-TLS: handshake fatal error");

source/Security/protocols/sec_prot_keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ void sec_prot_keys_ptk_eui_64_write(sec_prot_keys_t *sec_keys, const uint8_t *eu
225225

226226
uint8_t *sec_prot_keys_ptk_eui_64_get(sec_prot_keys_t *sec_keys)
227227
{
228-
if (!sec_keys->ptk_eui_64 || !sec_keys->ptk_eui_64_set) {
228+
if (!sec_keys->ptk_eui_64_set) {
229229
return NULL;
230230
}
231231

0 commit comments

Comments
 (0)