From d2e4e5e7f619d46fb6d57848917cc56441caa919 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Fri, 20 Mar 2026 09:36:08 +0000 Subject: [PATCH] coap_tinydtls.c: Deprecate use of u_int --- src/coap_tinydtls.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/coap_tinydtls.c b/src/coap_tinydtls.c index dce200c3..781acf0f 100644 --- a/src/coap_tinydtls.c +++ b/src/coap_tinydtls.c @@ -1749,12 +1749,12 @@ coap_oscore_is_supported(void) { */ static struct cipher_algs { cose_alg_t alg; - u_int cipher_type; + uint32_t cipher_type; } ciphers[] = { { COSE_ALGORITHM_AES_CCM_16_64_128, 1 }, }; -static u_int +static uint32_t get_cipher_alg(cose_alg_t alg) { size_t idx; @@ -1773,12 +1773,12 @@ get_cipher_alg(cose_alg_t alg) { */ static struct hmac_algs { cose_hmac_alg_t hmac_alg; - u_int hmac_type; + uint32_t hmac_type; } hmacs[] = { {COSE_HMAC_ALG_HMAC256_256, 1}, }; -static u_int +static uint32_t get_hmac_alg(cose_hmac_alg_t hmac_alg) { size_t idx;