Skip to content

Commit

Permalink
Changed TLS return value to int32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Leppänen committed Nov 25, 2020
1 parent 501a2c8 commit c29ee94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Security/protocols/tls_sec_prot/tls_sec_prot_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ static void tls_sec_prot_lib_debug(void *ctx, int level, const char *file, int l

int8_t tls_sec_prot_lib_process(tls_security_t *sec)
{
int ret = -1;
int32_t ret = -1;

while (ret != MBEDTLS_ERR_SSL_WANT_READ) {
ret = mbedtls_ssl_handshake_step(&sec->ssl);
Expand Down

0 comments on commit c29ee94

Please sign in to comment.