Skip to content

Commit 4d26258

Browse files
author
Mika Leppänen
committed
Flagged mbed TLS KW header and corrected bool definitions
1 parent 3d903fa commit 4d26258

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

source/Security/protocols/sec_prot_keys.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
typedef struct {
4242
uint8_t key[GTK_LEN]; /**< Group Transient Key (128 bits) */
4343
uint32_t lifetime; /**< Lifetime is seconds */
44-
uint8_t set: 1; /**< Group Transient Key set (valid value) */
45-
uint8_t live: 1; /**< Group Transient Key live (as indicated by authenticator) */
46-
uint8_t hash: 1; /**< Group Transient Key matches to hash */
44+
bool set; /**< Group Transient Key set (valid value) */
45+
bool live; /**< Group Transient Key live (as indicated by authenticator) */
46+
bool hash; /**< Group Transient Key matches to hash */
4747
} gtk_key_t;
4848

4949
typedef struct {

source/Service_Libs/nist_aes_kw/nist_aes_kw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
#include "ns_types.h"
2121
#include "ns_list.h"
2222
#include "ns_trace.h"
23+
#if defined(HAVE_WS) && (defined(HAVE_PAE_SUPP) || defined(HAVE_PAE_AUTH))
2324
#include "mbedtls/nist_kw.h"
25+
#endif
2426
#include "Service_Libs/nist_aes_kw/nist_aes_kw.h"
2527

2628
#ifdef HAVE_WS

0 commit comments

Comments
 (0)