Skip to content

Commit 0ee1984

Browse files
author
Andras Fekete
committed
Get around issue with 'uint8_t' undefined
1 parent f58ae30 commit 0ee1984

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

wolfcrypt/test/test.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23238,10 +23238,10 @@ static int hpke_test_single(Hpke* hpke)
2323823238
void* receiverKey = NULL;
2323923239
void* ephemeralKey = NULL;
2324023240
#ifdef WOLFSSL_SMALL_STACK
23241-
uint8_t *pubKey = NULL; /* public key */
23241+
byte *pubKey = NULL; /* public key */
2324223242
word16 pubKeySz = (word16)HPKE_Npk_MAX;
2324323243
#else
23244-
uint8_t pubKey[HPKE_Npk_MAX]; /* public key */
23244+
byte pubKey[HPKE_Npk_MAX]; /* public key */
2324523245
word16 pubKeySz = (word16)sizeof(pubKey);
2324623246
#endif
2324723247

@@ -23252,7 +23252,7 @@ static int hpke_test_single(Hpke* hpke)
2325223252

2325323253
#ifdef WOLFSSL_SMALL_STACK
2325423254
if (ret == 0) {
23255-
pubKey = (uint8_t *)XMALLOC(pubKeySz, HEAP_HINT,
23255+
pubKey = (byte *)XMALLOC(pubKeySz, HEAP_HINT,
2325623256
DYNAMIC_TYPE_TMP_BUFFER);
2325723257
if (pubKey == NULL)
2325823258
ret = MEMORY_E;

0 commit comments

Comments
 (0)