File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
source/Security/protocols Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 61
61
typedef struct {
62
62
uint8_t key [GTK_LEN ]; /**< Group Transient Key (128 bits) */
63
63
uint32_t lifetime ; /**< GTK lifetime in seconds */
64
- uint8_t status : 2 ; /**< Group Transient Key status */
65
- uint8_t install_order : 2 ; /**< Order in which GTK keys are added */
64
+ unsigned status : 2 ; /**< Group Transient Key status */
65
+ unsigned install_order : 2 ; /**< Order in which GTK keys are added */
66
66
bool set : 1 ; /**< Group Transient Key set (valid value) */
67
67
} gtk_key_t ;
68
68
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ int8_t tls_sec_prot_lib_process(tls_security_t *sec)
321
321
while (ret != MBEDTLS_ERR_SSL_WANT_READ ) {
322
322
ret = mbedtls_ssl_handshake_step (& sec -> ssl );
323
323
324
- #ifdef MBEDTLS_ECP_RESTARTABLE
324
+ #if defined( MBEDTLS_ECP_RESTARTABLE ) && defined( MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS )
325
325
if (ret == MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS /* || ret == MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS */ ) {
326
326
return TLS_SEC_PROT_LIB_CALCULATING ;
327
327
}
You can’t perform that action at this time.
0 commit comments