diff --git a/source/coap_security_handler.c b/source/coap_security_handler.c index 8c2d6fd3bc..c83775f223 100644 --- a/source/coap_security_handler.c +++ b/source/coap_security_handler.c @@ -196,6 +196,7 @@ void coap_security_destroy(coap_security_t *sec){ } } +#ifdef MBEDTLS_SSL_SRV_C /**** Random number functions ****/ /** @@ -265,6 +266,7 @@ static int simple_cookie_check(void *ctx, } return 0; } +#endif // MBEDTLS_SSL_SRV_C /**** Key export function ****/ #if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED)